Adobe Illustrator CS6 Type Library JS: TextPath

Illustrator CS6

Class

TextPath

 A text path item.

QuickLinks

setEntirePath

Hierarchy

Object
TextPath

Properties

PropertyTypeAccessDescription
areanumber readonlyThe area of this path in square points.
blendingModeBlendModes:
BlendModes.NORMAL
BlendModes.MULTIPLY
BlendModes.SCREEN
BlendModes.OVERLAY
BlendModes.SOFTLIGHT
BlendModes.HARDLIGHT
BlendModes.COLORDODGE
BlendModes.COLORBURN
BlendModes.DARKEN
BlendModes.LIGHTEN
BlendModes.DIFFERENCE
BlendModes.EXCLUSION
BlendModes.HUE
BlendModes.SATURATIONBLEND
BlendModes.COLORBLEND
BlendModes.LUMINOSITY
r/wThe mode used when compositing an object.
clippingbool r/wShould this be used as a clipping path?
closedbool r/wIs this path closed?
editablebool readonlyCan the text path be modified.
evenoddbool r/wShould the even-odd rule be used to determine insideness?
fillColorColor r/wFill color.
fillOverprintbool r/wWill art beneath a filled object be overprinted?
filledbool r/wShould the path be filled?
guidesbool r/wIs this path a guide object?
heightnumber (range: 0.0 - 16348.0) r/wThe height of the text path.
leftnumber r/wThe left position of the text path.
notestring r/wNote assigned to the path.
opacitynumber (range: 0.0 - 100.0) r/wThe object's opacity (between 0.0 and 100.0)
parentObject readonlyThe object's container.
pathPointsPathPoints PathPoint readonly
polarityPolarityValues:
PolarityValues.POSITIVE
PolarityValues.NEGATIVE
r/wThe polarity the path.
positionPoint r/wThe position of the top left corner of the text path.
resolutionnumber r/wThe resolution of the path.
selectedPathPointsObjectArray readonlyAll the selected points in the path.
strokeCapStrokeCap:
StrokeCap.BUTTENDCAP
StrokeCap.ROUNDENDCAP
StrokeCap.PROJECTINGENDCAP
r/wType of line capping.
strokeColorColor r/wStroke color.
strokeDashOffsetnumber r/wThe default distance into the dash pattern at which the pattern should be started.
strokeDashesArray of number r/wDash lengths (set to {} for a solid line)
strokeJoinStrokeJoin:
StrokeJoin.MITERENDJOIN
StrokeJoin.ROUNDENDJOIN
StrokeJoin.BEVELENDJOIN
r/wType of joints.
strokeMiterLimitnumber r/wWhether a join is mitered (pointed) or beveled (squared-off)
strokeOverprintbool r/wWill art beneath a stroked object be overprinted?
strokeWidthnumber r/wWidth of stroke.
strokedbool r/wShould the path be stroked?
topnumber r/wThe top position of the text path.
typenamestring readonlyThe class name of the object.
widthnumber (range: 0.0 - 16348.0) r/wThe width of the text path.

Methods

Instances

void setEntirePath (pathPoints: Array of any)
Set the path using the provided array of anchor points.

ParameterTypeDescription
pathPointsArray of any Array of anchor values for the path points.

Element of

TextFrameItem.textPath

Jongware, 25-Nov-2012 v3.0.3iContents :: Index