Свойство | Type | Description | |
---|---|---|---|
DistanceBetweenBottomEdgeAndRectangle | double | ||
DistanceBetweenLeftEdgeAndRectangle | double | ||
DistanceBetweenRectangles | Distance | ||
DistanceBetweenRightEdgeAndRectangle | double | ||
DistanceBetweenTopEdgeAndRectangle | double |
Méthode | Description | |
---|---|---|
SnapBottomLeftCorner ( |
Snaps the lower left corner of the specified rectangle to the nearest bounds.
|
|
SnapBottomRightCorner ( |
Snaps the bottom right corner of the specified rectangle to the nearest bounds.
|
|
SnapRectangle ( |
Returns new position of the specified rectangle taking into account bounds the rectangle can be attracted to.
|
|
SnapTopLeftCorner ( |
Snaps the upper left corner of the specified rectangle to the nearest bounds.
|
|
SnapTopRightCorner ( |
Snaps the upper right corner of the specified rectangle to the nearest bounds.
|
Méthode | Description | |
---|---|---|
DistanceBetweenBottomEdgeAndRectangle ( |
Returns distance between the bottom edge of the rectangle and another rectangle.
|
|
DistanceBetweenLeftEdgeAndRectangle ( |
Returns distance between the left edge of the rectangle and another rectangle.
|
|
DistanceBetweenRectangles ( |
Returns mininal distance between two rectangles.
|
|
DistanceBetweenRightEdgeAndRectangle ( |
Returns distance between the right edge of the rectangle and another rectangle.
|
|
DistanceBetweenTopEdgeAndRectangle ( |
Returns distance between the top edge of the rectangle and another rectangle.
|
public SnapBottomLeftCorner ( |
||
rect | The rectangle. | |
Résultat |
public SnapBottomRightCorner ( |
||
rect | The rectangle. | |
Résultat |
public SnapRectangle ( |
||
rect | The rectangle. | |
Résultat |
public SnapTopLeftCorner ( |
||
rect | The rectangle. | |
Résultat |
public SnapTopRightCorner ( |
||
rect | The rectangle. | |
Résultat |