RectangleFAlign Method (Single, Single) |
Aligns the rectangle to a grid of the specified gridWidth and gridHeight
Namespace:
Eto.Drawing
Assembly:
Eto (in Eto.dll) Version: 2.5.3-dev
Syntax public void Align(
float gridWidth,
float gridHeight
)
Public Sub Align (
gridWidth As Single,
gridHeight As Single
)
member Align :
gridWidth : float32 *
gridHeight : float32 -> unit
Parameters
- gridWidth
- Type: SystemSingle
Grid width - gridHeight
- Type: SystemSingle
Grid height
Remarks
This will align the top, left, right, and bottom to a grid by inflating each edge to the next grid line.
See Also