GraphicsPathAddRectangle Method |
Adds a rectangle to the path
Namespace:
Eto.Drawing
Assembly:
Eto (in Eto.dll) Version: 2.5.3-dev
Syntax public void AddRectangle(
float x,
float y,
float width,
float height
)
Public Sub AddRectangle (
x As Single,
y As Single,
width As Single,
height As Single
)
abstract AddRectangle :
x : float32 *
y : float32 *
width : float32 *
height : float32 -> unit
override AddRectangle :
x : float32 *
y : float32 *
width : float32 *
height : float32 -> unit
Parameters
- x
- Type: SystemSingle
X co-ordinate of the top left of the rectangle - y
- Type: SystemSingle
Y co-ordinate of the top left of the rectangle - width
- Type: SystemSingle
Width of the rectangle - height
- Type: SystemSingle
Height of the rectangle
Implements
IGraphicsPathAddRectangle(Single, Single, Single, Single)Remarks
Rectangles are separate figures and will not connect to the current or next figure in the path.
The starting point of the path will no longer be set after this call.
See Also