Class
Default page item formatting properties. Base Class: Preference
addEventListener, getElements, removeEventListener, toSource, toSpecifier
PageItemDefault
QuickLinks
Hierarchy
Properties
Property | Type | Access | Description |
---|---|---|---|
bottomLeftCornerOption | CornerOptions: CornerOptions.NONE CornerOptions.ROUNDED_CORNER CornerOptions.INVERSE_ROUNDED_CORNER CornerOptions.INSET_CORNER CornerOptions.BEVEL_CORNER CornerOptions.FANCY_CORNER |
readonly | The shape to apply to the bottom left corner of rectangular shapes. |
bottomLeftCornerRadius | Measurement Unit (Number or String) | readonly | The radius in measurement units of the corner effect applied to the bottom left corner of rectangular shapes |
bottomRightCornerOption | CornerOptions: CornerOptions.NONE CornerOptions.ROUNDED_CORNER CornerOptions.INVERSE_ROUNDED_CORNER CornerOptions.INSET_CORNER CornerOptions.BEVEL_CORNER CornerOptions.FANCY_CORNER |
readonly | The shape to apply to the bottom right corner of rectangular shapes. |
bottomRightCornerRadius | Measurement Unit (Number or String) | readonly | The radius in measurement units of the corner effect applied to the bottom right corner of rectangular shapes |
endCap | EndCap: EndCap.BUTT_END_CAP EndCap.ROUND_END_CAP EndCap.PROJECTING_END_CAP |
readonly | The end shape of an open path. |
endJoin | EndJoin: EndJoin.MITER_END_JOIN EndJoin.ROUND_END_JOIN EndJoin.BEVEL_END_JOIN |
readonly | The corner join applied to the PageItemDefault. |
eventListeners | EventListeners | readonly | A collection of event listeners. |
events | Events | readonly | A collection of events. |
fillColor | String Swatch |
readonly | The swatch (color, gradient, tint, or mixed ink) applied to the fill of the PageItemDefault. . Can also accept: String. |
fillTint | number | readonly | The percent of tint to use in the PageItemDefault's fill color. (To specify a tint percent, use a number in the range of 0 to 100; to use the inherited or overridden value, use -1.) |
gapColor | Swatch | readonly | The swatch (color, gradient, tint, or mixed ink) applied to the gap of a dashed, dotted, or striped stroke. For information, see stroke type. |
gapTint | number | readonly | The tint as a percentage of the gap color. (To specify a tint percent, use a number in the range of 0 to 100; to use the inherited or overridden value, use -1.) |
gradientFillAngle | number | readonly | The angle of a linear gradient applied to the fill of the PageItemDefault. (Range: -180 to 180) |
gradientStrokeAngle | number | readonly | The angle of a linear gradient applied to the stroke of the PageItemDefault. (Range: -180 to 180) |
isValid | bool | readonly | Returns true if the object specifier resolves to valid objects. |
leftLineEnd | ArrowHead: ArrowHead.NONE ArrowHead.SIMPLE_ARROW_HEAD ArrowHead.SIMPLE_WIDE_ARROW_HEAD ArrowHead.TRIANGLE_ARROW_HEAD ArrowHead.TRIANGLE_WIDE_ARROW_HEAD ArrowHead.BARBED_ARROW_HEAD ArrowHead.CURVED_ARROW_HEAD ArrowHead.CIRCLE_ARROW_HEAD ArrowHead.CIRCLE_SOLID_ARROW_HEAD ArrowHead.SQUARE_ARROW_HEAD ArrowHead.SQUARE_SOLID_ARROW_HEAD ArrowHead.BAR_ARROW_HEAD |
readonly | The arrowhead applied to the start of the path. |
miterLimit | number (range: 1 - 500) | readonly | The limit of the ratio of stroke width to miter length before a miter (pointed) join becomes a bevel (squared-off) join. (default: 4) |
nonprinting | bool | readonly | If true, the PageItemDefault does not print. |
overprintFill | bool | readonly | If true, the PageItemDefault's fill color overprints any underlying objects. If false, the fill color knocks out the underlying colors. |
overprintGap | bool | readonly | If true, the gap color overprints any underlying colors. If false, the gap color knocks out the underlying colors. |
overprintStroke | bool | readonly | If true, the PageItemDefault's stroke color overprints any underlying objects. If false, the stroke color knocks out the underlying colors. |
parent | Application Document |
readonly | The parent of the PageItemDefault (a Application or Document). |
properties | Object | r/w | A property that allows setting of several properties at the same time. |
rightLineEnd | ArrowHead: ArrowHead.NONE ArrowHead.SIMPLE_ARROW_HEAD ArrowHead.SIMPLE_WIDE_ARROW_HEAD ArrowHead.TRIANGLE_ARROW_HEAD ArrowHead.TRIANGLE_WIDE_ARROW_HEAD ArrowHead.BARBED_ARROW_HEAD ArrowHead.CURVED_ARROW_HEAD ArrowHead.CIRCLE_ARROW_HEAD ArrowHead.CIRCLE_SOLID_ARROW_HEAD ArrowHead.SQUARE_ARROW_HEAD ArrowHead.SQUARE_SOLID_ARROW_HEAD ArrowHead.BAR_ARROW_HEAD |
readonly | The arrowhead applied to the end of the path. |
strokeAlignment | StrokeAlignment: StrokeAlignment.CENTER_ALIGNMENT StrokeAlignment.INSIDE_ALIGNMENT StrokeAlignment.OUTSIDE_ALIGNMENT |
readonly | The stroke alignment applied to the PageItemDefault. |
strokeColor | String Swatch |
readonly | The swatch (color, gradient, tint, or mixed ink) applied to the stroke of the PageItemDefault. Can also accept: String. |
strokeTint | number | readonly | The percent of tint to use in object's stroke color. (To specify a tint percent, use a number in the range of 0 to 100; to use the inherited or overridden value, use -1.) |
strokeType | String StrokeStyle |
readonly | The name of the stroke style to apply. Can also accept: String. |
strokeWeight | Measurement Unit (Number or String) | readonly | The weight (in points) to apply to the PageItemDefault's stroke. |
topLeftCornerOption | CornerOptions: CornerOptions.NONE CornerOptions.ROUNDED_CORNER CornerOptions.INVERSE_ROUNDED_CORNER CornerOptions.INSET_CORNER CornerOptions.BEVEL_CORNER CornerOptions.FANCY_CORNER |
readonly | The shape to be applied to the top left corner of rectangular shapes and all corners of non-rectangular shapes.Note: corner option differs from end join in which you can set a radius for a corner option, whereas the rounded or beveled effect of an end join depends on the stroke weight. |
topLeftCornerRadius | Measurement Unit (Number or String) | readonly | The radius in measurement units of the corner effect applied to the top left corner of rectangular shapes and all corners of non-rectangular shapes |
topRightCornerOption | CornerOptions: CornerOptions.NONE CornerOptions.ROUNDED_CORNER CornerOptions.INVERSE_ROUNDED_CORNER CornerOptions.INSET_CORNER CornerOptions.BEVEL_CORNER CornerOptions.FANCY_CORNER |
readonly | The shape to apply to the top right corner of rectangular shapes |
topRightCornerRadius | Measurement Unit (Number or String) | readonly | The radius in measurement units of the corner effect applied to the top right corner of rectangular shapes |
Methods
Instances
EventListener addEventListener (eventType:
string, handler:
varies[, captures:
bool=false])
Adds an event listener.
Parameter | Type | Description |
---|---|---|
eventType | string | The event type. |
handler | File JavaScript Function | The event handler. Can accept: File or JavaScript Function. |
captures | bool | This parameter is obsolete. (Optional) (default: false) |
Array
of PageItemDefault getElements ()
Resolves the object specifier, creating an array of object references.
bool removeEventListener (eventType:
string, handler:
varies[, captures:
bool=false])
Removes the event listener.
Parameter | Type | Description |
---|---|---|
eventType | string | The registered event type. |
handler | File JavaScript Function | The registered event handler. Can accept: File or JavaScript Function. |
captures | bool | This parameter is obsolete. (Optional) (default: false) |
string toSource ()
Generates a string which, if executed, will return the PageItemDefault.
Element of
Application.pageItemDefaults
Document.pageItemDefaults
Return
Array of PageItemDefault PageItemDefault.getElements ()
Jongware, 23-Mar-2011 v3.0.3d | Contents :: Index |