PageItemDefault
Default page item formatting properties.
Go to Property Listing | Method Listing
Methods:
addEventListener, applyObjectStyle, clearObjectStyleOverrides, getElements, removeEventListener, toSource, toSpecifier
Objects:
ArrowHead, ArrowHeadAlignmentEnum, Boolean, ContentTransparencySetting, CornerOptions, EndCap, EndJoin, EventListeners, Events, FillTransparencySetting, Number, Object, ObjectStyle, Preferences, String, StrokeAlignment, StrokeStyle, StrokeTransparencySetting, Swatch, TransparencySetting
Preferences:
Hierarchy:
Superclass: Preference
Class: PageItemDefault
Property Listing
Property |
Type |
Access |
Description |
---|---|---|---|
read/write |
The default graphic object style applied to the PageItemDefault. Can also accept: String. |
||
read/write |
The default frame grid object style applied to the PageItemDefault. Can also accept: String. |
||
read/write |
The default text object style applied to the PageItemDefault. Can also accept: String. |
||
read/write |
The arrowhead alignment applied to the PageItemDefault. |
||
read/write |
The shape to apply to the bottom left corner of rectangular shapes. |
||
read/write |
The radius in measurement units of the corner effect applied to the bottom left corner of rectangular shapes |
||
read/write |
The shape to apply to the bottom right corner of rectangular shapes. |
||
read/write |
The radius in measurement units of the corner effect applied to the bottom right corner of rectangular shapes |
||
readonly |
Transparency settings for the content of the PageItemDefault. |
||
read/write |
The end shape of an open path. |
||
read/write |
The corner join applied to the PageItemDefault. |
||
readonly |
A collection of event listeners. |
||
readonly |
A collection of events. |
||
read/write |
The swatch (color, gradient, tint, or mixed ink) applied to the fill of the PageItemDefault. . Can also accept: String. |
||
Number (range 0 - 100) |
read/write |
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.) |
|
readonly |
Transparency settings for the fill applied to the PageItemDefault. |
||
read/write |
The swatch (color, gradient, tint, or mixed ink) applied to the gap of a dashed, dotted, or striped stroke. For information, see stroke type. |
||
Number (range 0 - 100) |
read/write |
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.) |
|
read/write |
The angle of a linear gradient applied to the fill of the PageItemDefault. (Range: -180 to 180) |
||
read/write |
The angle of a linear gradient applied to the stroke of the PageItemDefault. (Range: -180 to 180) |
||
readonly |
Returns true if the object specifier resolves to valid objects. |
||
Number (range 1 - 1000) |
read/write |
The scaling applied to the arrowhead at the start of the path. (Range: 1 to 1000) |
|
read/write |
The arrowhead applied to the start of the path. |
||
Number (range 1 - 500) |
read/write |
The limit of the ratio of stroke width to miter length before a miter (pointed) join becomes a bevel (squared-off) join. |
|
read/write |
If true, the PageItemDefault does not print. |
||
read/write |
If true, the PageItemDefault's fill color overprints any underlying objects. If false, the fill color knocks out the underlying colors. |
||
read/write |
If true, the gap color overprints any underlying colors. If false, the gap color knocks out the underlying colors. |
||
read/write |
If true, the PageItemDefault's stroke color overprints any underlying objects. If false, the stroke color knocks out the underlying colors. |
||
readonly |
The parent of the PageItemDefault (a Application or Document). |
||
readonly |
A collection of preferences objects. |
||
read/write |
A property that allows setting of several properties at the same time. |
||
Number (range 1 - 1000) |
read/write |
The scaling applied to the arrowhead at the end of the path. (Range: 1 to 1000) |
|
read/write |
The arrowhead applied to the end of the path. |
||
read/write |
The stroke alignment applied to the PageItemDefault. |
||
read/write |
The swatch (color, gradient, tint, or mixed ink) applied to the stroke of the PageItemDefault. Can also accept: String. |
||
Number (range 0 - 100) |
read/write |
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.) |
|
readonly |
Transparency settings for the stroke. |
||
read/write |
The name of the stroke style to apply. Can also accept: String. |
||
read/write |
The weight (in points) to apply to the PageItemDefault's stroke. |
||
read/write |
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. |
||
read/write |
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 |
||
read/write |
The shape to apply to the top right corner of rectangular shapes |
||
read/write |
The radius in measurement units of the corner effect applied to the top right corner of rectangular shapes |
||
readonly |
Transparency settings. |
Method Listing
EventListener addEventListener (eventType:String, handler:Varies File JavaScriptFunction, [captures:Boolean=Boolean])
Adds an event listener.
Parameter |
Type |
Description |
---|---|---|
eventType |
The event type. |
|
handler |
JavaScriptFunction |
The event handler. Can accept: File or JavaScript Function. |
captures |
This parameter is obsolete. (Optional) (default: false) |
undefined applyObjectStyle (using:ObjectStyle, [clearingOverrides:Boolean=Boolean], [clearingOverridesThroughRootObjectStyle:Boolean=Boolean])
Applies the specified object style.
Parameter |
Type |
Description |
---|---|---|
using |
The object style to apply. |
|
clearingOverrides |
If true, clears the PageItemDefault's existing attributes before applying the style. (Optional) (default: true) |
|
clearingOverridesThroughRootObjectStyle |
If true, clears attributes and formatting applied to the PageItemDefault that are not defined in the object style. (Optional) (default: false) |
undefined clearObjectStyleOverrides ()
Clear overrides for object style
PageItemDefault getElements ()
Resolves the object specifier, creating an array of object references.
Boolean removeEventListener (eventType:String, handler:Varies File JavaScriptFunction, [captures:Boolean=Boolean])
Removes the event listener.
Parameter |
Type |
Description |
---|---|---|
eventType |
The registered event type. |
|
handler |
JavaScriptFunction |
The registered event handler. Can accept: File or JavaScript Function. |
captures |
This parameter is obsolete. (Optional) (default: false) |
String toSource ()
Generates a string which, if executed, will return the PageItemDefault.
String toSpecifier ()
Retrieves the object specifier.
Object of
Application.pageItemDefaults
Document.pageItemDefaults
ContentTransparencySetting.parent
Event.parent
EventListener.parent
FillTransparencySetting.parent
MutationEvent.parent
Preference.parent
StrokeTransparencySetting.parent
TransparencySetting.parent