IBoundsCheckableItem.CheckBounds

IBoundsCheckableItem.CheckBounds metod

Kontrollerar om objektet passar inom de angivna behållardimensionerna (inklusive).

public bool CheckBounds(double containerWidth, double containerHeight)
ParameterTypBeskrivning
containerWidthDoubleBredden på behållaren.
containerHeightDoubleHöjden på behållaren.

Returvärde

Sant om det passar; annars falskt.

Se Även