
# class ImmutablePath
ImmutablePath inherits from Shape
# MEMBERS
# member read-only type
Type: Shape.Type
# member read-only winding
Type: WindingRule
# member read-only area
Type: Number
# member read-only length
Type: Number
# member read-only start
Type: ImmutablePoint
# member read-only current
Type: ImmutablePoint
# CONSTRUCTORS
# constructor ImmutablePath()
Description:
# constructor ImmutablePath(initialCapacity)
Description:
Parameters:
- initialCapacity: (Number) -
# constructor ImmutablePath(point)
Description:
Parameters:
- point: (ImmutablePoint) -
# constructor ImmutablePath(x, y)
Description:
Parameters:
- x: (Number) -
- y: (Number) -
# constructor ImmutablePath(rect)
Description:
Parameters:
- rect: (ImmutableRect) -
# constructor ImmutablePath(path)
Description:
Parameters:
- path: (ImmutablePath) -
# FUNCTIONS
# function intersects(other)
Description:
Parameters:
- other: (ImmutablePath) -
Return:
(Boolean) -
# function contains(point)
Description:
Parameters:
- point: (ImmutablePoint) -
Return:
(Boolean) -
# function contains(x, y)
Description:
Parameters:
- x: (Number) -
- y: (Number) -
Return:
(Boolean) -
# function contains(rect)
Description:
Parameters:
- rect: (ImmutableRect) -
Return:
(Boolean) -
# function contains(x, y, width, height)
Description:
Parameters:
- x: (Number) -
- y: (Number) -
- width: (Number) -
- height: (Number) -
Return:
(Boolean) -
# function pointAt(t)
Description:
Parameters:
- t: (Number) -
Return:
(ImmutablePoint) -
# function intersectedOp(other)
Description:
Parameters:
- other: (ImmutablePath) -
Return:
(ImmutablePath) -
# function intersectedOp(other)
Description:
Parameters:
- other: (ImmutableRect) -
Return:
(ImmutablePath) -
# function mergedOp(other)
Description:
Parameters:
- other: (ImmutablePath) -
Return:
(ImmutablePath) -
# function subtractedOp(other)
Description:
Parameters:
- other: (ImmutablePath) -
Return:
(ImmutablePath) -
# function xoredOp(other)
Description:
Parameters:
- other: (ImmutablePath) -
Return:
(ImmutablePath) -
# function offset(offset)
Description:
Parameters:
- offset: (Number) -
Return:
(ImmutablePath) -
# function offset(offset, joinStyle, miterLimit)
Description:
Parameters:
- offset: (Number) -
- joinStyle: (JoinStyle) -
- miterLimit: (Number) -
Return:
(ImmutablePath) -
# function simplified()
Description:
Return:
(ImmutablePath) -
# STATIC FUNCTIONS
# static function parse(data)
Description: Parse postscript style path data
Parameters:
- data: (String) -
Return:
(ImmutablePath) -
# static function findOutlines(shapes)
Description:
Parameters:
- shapes: (Shape) -
Return:
(ImmutablePath) -
# static function findOutlines(shapes, margin)
Description:
Parameters:
- shapes: (Shape) -
- margin: (Number) -
Return:
(ImmutablePath) -
# static function findOutlines(shapes, margin, flatness)
Description:
Parameters:
- shapes: (Shape) -
- margin: (Number) -
- flatness: (Number) -
Return:
(ImmutablePath) -