Options
Menu

Class GraphicsPathCommand

Defines the values to use for specifying path-drawing commands. The values in this class are used by the Graphics.drawPath() method, or stored in the commands vector of a GraphicsPath object.

Hierarchy

  • GraphicsPathCommand

Index

Properties

Static BUILD_JOINT

BUILD_JOINT: number

Specifies a drawing command that draws a curve from the current drawing position to the x- and y-coordinates specified in the data vector, using a control point.

Static BUILD_ROUND_JOINT

BUILD_ROUND_JOINT: number

Static CUBIC_CURVE

CUBIC_CURVE: number

Specifies a drawing command that draws a curve from the current drawing position to the x- and y-coordinates specified in the data vector, using 2 control points.

Static CURVE_TO

CURVE_TO: number

Specifies a drawing command that draws a curve from the current drawing position to the x- and y-coordinates specified in the data vector, using a control point.

Static LINE_TO

LINE_TO: number

Specifies a drawing command that draws a line from the current drawing position to the x- and y-coordinates specified in the data vector.

Static MOVE_TO

MOVE_TO: number

Specifies a drawing command that moves the current drawing position to the x- and y-coordinates specified in the data vector.

Static NO_OP

NO_OP: number

Represents the default "do nothing" command.

Static WIDE_LINE_TO

WIDE_LINE_TO: number

Specifies a "line to" drawing command, but uses two sets of coordinates (four values) instead of one set.

Static WIDE_MOVE_TO

WIDE_MOVE_TO: number

Specifies a "move to" drawing command, but uses two sets of coordinates (four values) instead of one set.

Generated using TypeDoc