# 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:

# constructor ImmutablePath(x, y)

Description:

Parameters:

  • x: (Number) -
  • y: (Number) -

# constructor ImmutablePath(rect)

Description:

Parameters:

# constructor ImmutablePath(path)

Description:

Parameters:

# FUNCTIONS

# function intersects(other)

Description:

Parameters:

Return:

(Boolean) -

# function contains(point)

Description:

Parameters:

Return:

(Boolean) -

# function contains(x, y)

Description:

Parameters:

  • x: (Number) -
  • y: (Number) -

Return:

(Boolean) -

# function contains(rect)

Description:

Parameters:

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:

Return:

(ImmutablePath) -

# function intersectedOp(other)

Description:

Parameters:

Return:

(ImmutablePath) -

# function mergedOp(other)

Description:

Parameters:

Return:

(ImmutablePath) -

# function subtractedOp(other)

Description:

Parameters:

Return:

(ImmutablePath) -

# function xoredOp(other)

Description:

Parameters:

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:

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) -

Last Updated: 12/20/2022, 8:12:45 AM