
# class Path
Path inherits from ImmutablePath
# MEMBERS
# member read-only start
Type: Point
# member read-only current
Type: Point
# CONSTRUCTORS
# constructor Path()
Description:
# constructor Path(initialCapacity)
Description:
Parameters:
- initialCapacity: (Number) -
# constructor Path(point)
Description:
Parameters:
- point: (ImmutablePoint) -
# constructor Path(x, y)
Description:
Parameters:
- x: (Number) -
- y: (Number) -
# constructor Path(rect)
Description:
Parameters:
- rect: (ImmutableRect) -
# constructor Path(path)
Description:
Parameters:
- path: (ImmutablePath) -
# FUNCTIONS
# function setWinding(winding)
Description:
Parameters:
- winding: (WindingRule) -
# function moveTo(point)
Description:
Parameters:
- point: (Point) -
# function moveTo(x, y)
Description:
Parameters:
- x: (Number) -
- y: (Number) -
# function lineTo(point)
Description:
Parameters:
- point: (Point) -
# function lineTo(x, y)
Description:
Parameters:
- x: (Number) -
- y: (Number) -
# function quadTo(c, e)
Description:
Parameters:
# function quadTo(cx, cy, ex, ey)
Description:
Parameters:
- cx: (Number) -
- cy: (Number) -
- ex: (Number) -
- ey: (Number) -
# function cubicTo(c1, c2, e)
Description:
Parameters:
# function cubicTo(c1x, c1y, c2x, c2y, ex, ey)
Description:
Parameters:
- c1x: (Number) -
- c1y: (Number) -
- c2x: (Number) -
- c2y: (Number) -
- ex: (Number) -
- ey: (Number) -
# function add(shape)
Description:
Parameters:
- shape: (Shape) -
# function add(shape, connect)
Description:
Parameters:
- shape: (Shape) -
- connect: (Boolean) -
# function close()
Description:
# function intersectOp(other)
Description:
Parameters:
- other: (Path) -
# function intersectedOp(other)
Description:
Parameters:
- other: (ImmutablePath) -
Return:
(Path) -
# function intersectedOp(other)
Description:
Parameters:
- other: (ImmutableRect) -
Return:
(Path) -
# function mergeOp(other)
Description:
Parameters:
- other: (Path) -
# function mergedOp(other)
Description:
Parameters:
- other: (ImmutablePath) -
Return:
(Path) -
# function subtractOp(other)
Description:
Parameters:
- other: (Path) -
# function subtractedOp(other)
Description:
Parameters:
- other: (ImmutablePath) -
Return:
(Path) -
# function xorOp(other)
Description:
Parameters:
- other: (Path) -
# function xoredOp(other)
Description:
Parameters:
- other: (ImmutablePath) -
Return:
(Path) -
# function offset(offset)
Description:
Parameters:
- offset: (Number) -
Return:
(Path) -
# function offset(offset, joinStyle, miterLimit)
Description:
Parameters:
- offset: (Number) -
- joinStyle: (JoinStyle) -
- miterLimit: (Number) -
Return:
(Path) -
# function flatten()
Description:
# function flatten(flatness)
Description:
Parameters:
- flatness: (Number) -
# function simplified()
Description:
Return:
(Path) -
# STATIC FUNCTIONS
# static function parse(data)
Description: Parse postscript style path data
Parameters:
- data: (String) -
Return:
(Path) -
# static function findOutlines(shapes)
Description:
Parameters:
- shapes: (Shape) -
Return:
(Path) -
# static function findOutlines(shapes, margin)
Description:
Parameters:
- shapes: (Shape) -
- margin: (Number) -
Return:
(Path) -
# static function findOutlines(shapes, margin, flatness)
Description:
Parameters:
- shapes: (Shape) -
- margin: (Number) -
- flatness: (Number) -
Return:
(Path) -