ShapeSegmentPathCollection

ShapeSegmentPathCollection class

Represents a creation path consisting of a series of moves, lines and curves that when combined will form a geometric shape.

new ShapeSegmentPathCollection()

Methods

NameDescription
add(type)Add a segment path in creation path.
add()Reserved for internal use.
clear()
contains()Reserved for internal use.
get(index)Gets ShapeSegmentPath object.
get()Reserved for internal use.
getCount()
indexOf()Reserved for internal use.
iterator()
removeAt()

add(type)

Add a segment path in creation path.

ParameterTypeDescription
typeNumberShapePathType

Returns: Number — Number Returns the position of ShapeSegmentPath object in the list.

add()

Reserved for internal use.

clear()

contains()

Reserved for internal use.

get(index)

Gets ShapeSegmentPath object.

ParameterTypeDescription
indexNumberThe index.

Returns: ShapeSegmentPath — ShapeSegmentPath Returns a ShapeSegmentPath object.

get()

Reserved for internal use.

getCount()

indexOf()

Reserved for internal use.

iterator()

removeAt()