Creates a new GraphicsPath object.
Specifies the winding rule using a value defined in the GraphicsPathWinding class.
The Vector of drawing commands as integers representing the path. Each command can be one of the values defined by the GraphicsPathCommand class.
The Vector of Numbers containing the parameters used with the drawing commands.
Specifies the winding rule using a value defined in the GraphicsPathWinding class.
Adds a new "curveTo" command to the commands
vector and new
coordinates to the data
vector.
A number that specifies the horizontal position of the control point relative to the registration point of the parent display object.
A number that specifies the vertical position of the control point relative to the registration point of the parent display object.
A number that specifies the horizontal position of the next anchor point relative to the registration point of the parent display object.
A number that specifies the vertical position of the next anchor point relative to the registration point of the parent display object.
Adds a new "lineTo" command to the commands
vector and new
coordinates to the data
vector.
The x coordinate of the destination point for the line.
The y coordinate of the destination point for the line.
Adds a new "moveTo" command to the commands
vector and new
coordinates to the data
vector.
The x coordinate of the destination point.
The y coordinate of the destination point.
Adds a new "wideLineTo" command to the commands
vector and
new coordinates to the data
vector.
The x-coordinate of the destination point for the line.
The y-coordinate of the destination point for the line.
Adds a new "wideMoveTo" command to the commands
vector and
new coordinates to the data
vector.
The x-coordinate of the destination point.
The y-coordinate of the destination point.
Generated using TypeDoc
A collection of drawing commands and the coordinate parameters for those commands.
Use a GraphicsPath object with the
Graphics.drawGraphicsData()
method. Drawing a GraphicsPath object is the equivalent of calling theGraphics.drawPath()
method.The GraphicsPath class also has its own set of methods (
curveTo()
,lineTo()
,moveTo()
wideLineTo()
andwideMoveTo()
) similar to those in the Graphics class for making adjustments to theGraphicsPath.commands
andGraphicsPath.data
vector arrays.