GraphicsPathAddLine Method |
Adds a line to the path with the specified start and end points
Namespace:
Eto.Drawing
Assembly:
Eto (in Eto.dll) Version: 2.5.3-dev
Syntax public void AddLine(
float startX,
float startY,
float endX,
float endY
)
Public Sub AddLine (
startX As Single,
startY As Single,
endX As Single,
endY As Single
)
abstract AddLine :
startX : float32 *
startY : float32 *
endX : float32 *
endY : float32 -> unit
override AddLine :
startX : float32 *
startY : float32 *
endX : float32 *
endY : float32 -> unit
Parameters
- startX
- Type: SystemSingle
X co-ordinate of the starting point - startY
- Type: SystemSingle
Y co-ordinate of the starting point - endX
- Type: SystemSingle
X co-ordinate of the end point - endY
- Type: SystemSingle
Y co-ordinate of the end point
Implements
IGraphicsPathAddLine(Single, Single, Single, Single)Remarks
If the current figure is not closed, it will connect with the start of this line.
The current position will be moved to the specified end location.
See Also