| Package | com.yworks.canvas.drawing |
| Class | public class PathType |
| Inheritance | PathType Object |
GeneralPath
| Constant | Defined 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 | ||
| CLOSE | Constant |
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_TO | Constant |
public static const CURVE_TO:uint = 3The 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_TO | Constant |
public static const LINE_TO:uint = 2The type that is used to add a line from the current position to the next position.
This type uses one coordinate pair.
| MOVE_TO | Constant |
public static const MOVE_TO:uint = 1The type that is used to move the pen to the next position.
This type uses one coordinate pair.