TextPath

A text path item.

Methods:

setEntirePath

Objects:

BlendModes, Boolean, Color, Number, PathPoints, Point, PolarityValues, String, StrokeCap, StrokeJoin

Property Listing

Property

Type

Access

Description

area

Number

readonly

The area of this path in square points.

blendingMode

BlendModes

BlendModes.COLORBLEND

BlendModes.COLORBURN

BlendModes.COLORDODGE

BlendModes.DARKEN

BlendModes.DIFFERENCE

BlendModes.EXCLUSION

BlendModes.HARDLIGHT

BlendModes.HUE

BlendModes.LIGHTEN

BlendModes.LUMINOSITY

BlendModes.MULTIPLY

BlendModes.NORMAL

BlendModes.OVERLAY

BlendModes.SATURATIONBLEND

BlendModes.SCREEN

BlendModes.SOFTLIGHT

read/write

The mode used when compositing an object.

clipping

Boolean

read/write

Should this be used as a clipping path?

closed

Boolean

read/write

Is this path closed?

editable

Boolean

readonly

Can the text path be modified.

evenodd

Boolean

read/write

Should the even-odd rule be used to determine insideness?

fillColor

Color

read/write

Fill color.

fillOverprint

Boolean

read/write

Will art beneath a filled object be overprinted?

filled

Boolean

read/write

Should the path be filled?

guides

Boolean

read/write

Is this path a guide object?

height

Number (range 0.0 - 16348.0)

read/write

The height of the text path.

left

Number

read/write

The left position of the text path.

note

String

read/write

Note assigned to the path.

opacity

Number (range 0.0 - 100.0)

read/write

The object's opacity (between 0.0 and 100.0)

parent

 

readonly

The object's container.

pathPoints

PathPoints PathPoint

readonly

 

polarity

PolarityValues

PolarityValues.NEGATIVE

PolarityValues.POSITIVE

read/write

The polarity the path.

position

Point

read/write

The position of the top left corner of the text path.

resolution

Number

read/write

The resolution of the path.

selectedPathPoints

ObjectArray

readonly

All the selected points in the path.

strokeCap

StrokeCap

StrokeCap.BUTTENDCAP

StrokeCap.PROJECTINGENDCAP

StrokeCap.ROUNDENDCAP

read/write

Type of line capping.

strokeColor

Color

read/write

Stroke color.

strokeDashOffset

Number

read/write

The default distance into the dash pattern at which the pattern should be started.

strokeDashes

Array of Number

read/write

Dash lengths (set to {} for a solid line)

strokeJoin

StrokeJoin

StrokeJoin.BEVELENDJOIN

StrokeJoin.MITERENDJOIN

StrokeJoin.ROUNDENDJOIN

read/write

Type of joints.

strokeMiterLimit

Number

read/write

Whether a join is mitered (pointed) or beveled (squared-off)

strokeOverprint

Boolean

read/write

Will art beneath a stroked object be overprinted?

strokeWidth

Number

read/write

Width of stroke.

stroked

Boolean

read/write

Should the path be stroked?

top

Number

read/write

The top position of the text path.

typename

String

readonly

The class name of the object.

width

Number (range 0.0 - 16348.0)

read/write

The width of the text path.

Method Listing

undefined setEntirePath (pathPoints:Array of Varies)

Set the path using the provided array of anchor points.

Parameter

Type

Description

pathPoints

Array of Varies

Array of anchor values for the path points.

Object of

TextFrameItem.textPath