Packagecom.yworks.canvas.drawing
Classpublic class PathType
InheritancePathType Inheritance Object

Possible types that make up a GeneralPath



Public Constants
 ConstantDefined By
  CLOSE : uint = 23
[static] The type that is used to add a line from the current position to the last MOVE_TO position.
PathType
  CURVE_TO : uint = 3
[static] The type that is used to add a quadratic bezier curve from the current position to the next position using one control point.
PathType
  LINE_TO : uint = 2
[static] The type that is used to add a line from the current position to the next position.
PathType
  MOVE_TO : uint = 1
[static] The type that is used to move the pen to the next position.
PathType
Constant Detail
CLOSEConstant
public static const CLOSE:uint = 23

The type that is used to add a line from the current position to the last MOVE_TO position.

This type uses no coordinate pair.

CURVE_TOConstant 
public static const CURVE_TO:uint = 3

The type that is used to add a quadratic bezier curve from the current position to the next position using one control point.

This type uses two coordinate pairs.

LINE_TOConstant 
public static const LINE_TO:uint = 2

The type that is used to add a line from the current position to the next position.

This type uses one coordinate pair.

MOVE_TOConstant 
public static const MOVE_TO:uint = 1

The type that is used to move the pen to the next position.

This type uses one coordinate pair.