[]
Gets the aligned rectangle.
public Rectangle GetAlignRectangle(double width, double height, RectAlignment alignment)
Public Function GetAlignRectangle(width As Double, height As Double, alignment As RectAlignment) As Rectangle
| Type | Name | Description |
|---|---|---|
| double | width | The width of new aligned rectangle. |
| double | height | The height of new aligned rectangle. |
| RectAlignment | alignment | How the new rectangle is aligned. |
| Type | Description |
|---|---|
| Rectangle | The new aligned rectangle. |