Package | com.adobe.illustrator |
Class | public class Application |
Inheritance | Application ![]() ![]() ![]() |
Since : | CS5 |
Property | Defined By | ||
---|---|---|---|
activeDocument : Document
The active document. | Application | ||
browserAvailable : Boolean [read-only]
Is a web browser available?
| Application | ||
buildNumber : String [read-only]
The build number of the Adobe Illustrator application. | Application | ||
colorSettingsList : Object [read-only]
The list of color settings files currently available for use. | Application | ||
coordinateSystem : CoordinateSystem
Coordinate System used by script
| Application | ||
defaultColorSettings : File [read-only]
The default color settings file for the current application locale. | Application | ||
documents : Documents [read-only]
The open documents. | Application | ||
flattenerPresetsList : Object [read-only]
The list of flattener style names currently available for use. | Application | ||
freeMemory : Number [read-only]
The amount of unused memory within the Adobe Illustrator partition. | Application | ||
![]() | hostObjectDelegate : HostObject Getter for the delegate | CSHostObject | |
locale : String [read-only]
The Locale of the Adobe Illustrator application. | Application | ||
name : String [read-only]
The application's name. | Application | ||
![]() | parent : * [read-only] | IllustratorHostObject | |
path : File [read-only]
Path specification for the application. | Application | ||
PDFPresetsList : Object [read-only]
The list of PDF preset names currently available for use. | Application | ||
PPDFileList : Object [read-only]
The list of PPD files currently available for use. | Application | ||
preferences : Preferences [read-only]
Preferences for Illustrator. | Application | ||
printerList : Object [read-only]
The list of installed printers. | Application | ||
printPresetsList : Object [read-only]
The list of print preset names currently available for use. | Application | ||
scriptingVersion : String [read-only]
The version of the Scripting plugin. | Application | ||
selection : Object
The selection visible to the user. | Application | ||
startupPresetsList : Object [read-only]
The list of presets available for creating a new document. | Application | ||
textFonts : TextFonts [read-only]
Installed fonts. | Application | ||
tracingPresetsList : Object [read-only]
The list of tracing preset names currently available for use. | Application | ||
userInteractionLevel : UserInteractionLevel
What level of interaction with the user should be allowed when handling script commands. | Application | ||
version : String [read-only]
The version of the Adobe Illustrator application. | Application | ||
visible : Boolean [read-only]
Is the application visible. | Application |
Method | Defined By | ||
---|---|---|---|
aATAddItem(sessionIndex:Number, destinationSequenceID:Number, destinationIndex:Number, srcItemIDData:String, type:String):String
Add the specified to the sequencer. | Application | ||
aATClear():String
Clear the sequencer. | Application | ||
aATDuplicateItem(sessionIndex:Number, item:String):String
Duplicates the specified item(s) from the sequencer. | Application | ||
aATEditItem(sessionIndex:Number, item:String):String
Opens the specified item from the sequencer in the item editor. | Application | ||
aATErrorsExist():Boolean
Retrieves a boolean indicating the presence of errors in the last script to execute. | Application | ||
aATExecuteSession():void
Executes the active session in the sequencer. | Application | ||
aATExecuteSessionFromFile(file:File):void
Executes the active session in the sequencer. | Application | ||
aATFileRelativeChanged(path:String, relative:String, newRelative:String):String
Switches a files relative token and path. | Application | ||
aATFileSaveDialog(path:String, relative:String, type:String):String
Prompts the user to save a file or choose a file or directory and returns a relative path string to the file. | Application | ||
aATGetEditorDialogFile():File
Retrieves a file path to the AAT editor swf. | Application | ||
aATGetErrorDialogFile():File
Retrieves a file path to the AAT error dialog swf. | Application | ||
aATGetListOfRelativePaths():String
Gets an XML string listing the relative paths and the UI strings to display them. | Application | ||
aATGetSession():String
Get the active session for the sequncer. | Application | ||
aATLoadLibExtension():String
Loads a session file as an extension to the editor. | Application | ||
aATLoadModel():String
Loads the aat model to the editor. | Application | ||
aATLoadSessionFile():String
Loads a session into the sequencer. | Application | ||
aATLoadUIExtension():String
Loads a UI description as an extension to the editor. | Application | ||
aATMoveItem(sessionIndex:Number, moveThisID:String, newSessionIndex:Number, destinationSequenceID:String, destinationIndex:Number):String
Moves the specified in the sequencer. | Application | ||
aATRemoveItem(sessionIndex:Number, item:String):String
Removes the specified item from the sequencer. | Application | ||
aATReplaceItem(sessionIndex:Number, replaceThisID:Number, srcItemIDData:String, type:String):String
Replaces the specified to the sequencer. | Application | ||
aATSaveAsSession():String
Saves the active session in the sequencer to a new file. | Application | ||
aATSaveSession():String
Saves the active session in the sequencer to a file. | Application | ||
applyDataToItem(sessionIndex:Number, item:String, data:String):String
Applies the data used in the item editor to the item. | Application | ||
applySingleDataPointToItem(sessionIndex:Number, item:String, dataID:String, data:String):Boolean
Applies data to the specified item from the sequencer in the item editor. | Application | ||
beep():void | Application | ||
Concatenate two transformation matrices. | Application | ||
Concatenate a rotation matrix to a transformation matrix. | Application | ||
Concatenate a scale matrix to a transformation matrix. | Application | ||
Concatenate a translation to a transformation matrix. | Application | ||
convertSampleColor(sourceColorSpace:ImageColorSpace, sourceColor:Object, destColorSpace:ImageColorSpace, colorConvertPurpose:ColorConvertPurpose, sourceHasAlpha:Boolean = false, destHasAlpha:Boolean = false):Object
Converts a sample-component color from one color space to another. | Application | ||
copy():void
Copy current selection to the clipboard. | Application | ||
cut():void
Cut current selection to the clipboard. | Application | ||
![]() | filterArgsForHBAPI(args:Array):Array [static]
Function to clean up the argument list and put it into a format that
makes sense for HBAPI. | CSHostObject | |
![]() | filterSingleObjectForHBAPI(value:Object):Object [static]
| CSHostObject | |
![]() | getClassObjectForName(className:String):HostObject [static] This returns a "Class" object, meaning, a HostObject that can be used
to make static function calls or get static properties
| CSHostObject | |
getExecutionOutput():String
Retrieves a string containing the results of the last script to execute. | Application | ||
Returns an identity matrix. | Application | ||
getPPDFileInfo(name:String):PPDFileInfo
Get detailed info from the specified PPD file. | Application | ||
getPresetFileOfType(presetType:DocumentPresetType):File
Given a preset type, returns the full path to the application's default document profile for the type. | Application | ||
getPresetSettings(preset:String):DocumentPreset
Given a preset name, tries and retrieves the settings from the preset template. | Application | ||
getRotationMatrix(angle:Number = 0.0):Matrix
Returns a rotation transformation matrix. | Application | ||
getScaleMatrix(scaleX:Number = 100.0, scaleY:Number = 100.0):Matrix
Returns a scale transformation matrix. | Application | ||
getScriptableHelpGroup():Object
Get the scriptable help group object that represents the search widget in the app bar. | Application | ||
![]() | getSpecialTranslation(className:String, ho:HostObject, expectedReturnType:Class, ownerName:String):* [static] | CSHostObject | |
getTranslationMatrix(deltaX:Number = 0.0, deltaY:Number = 0.0):Matrix
Returns a translation matrix. | Application | ||
getVersionString():String
Retrieves a string representing the AAT version. | Application | ||
![]() | hostCall(name:String, expectedReturnType:Class, rawargs:Array):*
Encapsulates a function call to the host
| CSHostObject | |
![]() | hostCallStatic(className:String, methodName:String, expectedReturnType:Class, rawargs:Array):* [static]
Implements a safe call of a static method on the host
| CSHostObject | |
![]() | hostGet(name:String, expectedReturnType:Class):*
Encapsulates a property get to the host
| CSHostObject | |
![]() | hostGetIndex(idx:Object, expectedReturnType:Class):*
Encapsulates a indexed get to the host
| CSHostObject | |
![]() | hostGetStatic(className:String, propertyName:String, expectedReturnType:Class):* [static]
Implements a safe get of a static property on the host
Used by for instance, all the enum implementations. | CSHostObject | |
![]() | hostSet(name:String, rawvalue:*):void
Encapsulates a property set to the host
| CSHostObject | |
![]() | hostSetStatic(className:String, propertyName:String, rawvalue:*):* [static]
Implements a safe set of a static property on the host
| CSHostObject | |
Invert a matrix. | Application | ||
![]() | isDescendedFrom(clz:Class, ancClass:Class):Boolean [static] Efficiently determines whether or not one class descends from
another in inheritance hierarchy- class relationships are cached
by the ClassUtils implementation-
(uses org.as3commons lib to quickly discover class hierarchy. | CSHostObject | |
Compares two matrices for equality. | Application | ||
isSingularMatrix(matrix:Matrix):Boolean
Tests if a matrix is singular (cannot be inverted)
| Application | ||
loadColorSettings(fileSpec:File):void
Load the color settings from the file. | Application | ||
Open the specified document file. | Application | ||
paste():void
Paste clipboard into the current document. | Application | ||
quit():void
Quit the application. | Application | ||
redo():void
Redo the last transaction. | Application | ||
redraw():void
Force Illustrator to redraw its window(s)
| Application | ||
![]() | replaceDefaultArgs(args:Array, defaultArgs:Array):Array
Function to tidy up arguments prior to call. | CSHostObject | |
runAPITest(testName:String):void
Runs API Tests from the TestAPI Plug-in
| Application | ||
showPresets(fileSpec:File):Object
Get presets from the file. | Application | ||
translatePlaceholderText(text:String):String
Translate the placeholder text to regular text. | Application | ||
translateString(key:String, source:String):String
Returns a string translated from the key and source data passed in. | Application | ||
undo():void
Undo the last transaction. | Application | ||
![]() | wrapReturnedHostObject(rawObject:Object, expectedReturnType:Class, client:CSHostObject, propertyName:String):* [static]
Method used on static/normal get/ hostcalls
| CSHostObject |
activeDocument | property |
activeDocument:Document
Since : | CS5 |
The active document.
public function get activeDocument():Document
public function set activeDocument(value:Document):void
browserAvailable | property |
browserAvailable:Boolean
[read-only] Since : | CS5 |
Is a web browser available?
public function get browserAvailable():Boolean
buildNumber | property |
buildNumber:String
[read-only] Since : | CS5 |
The build number of the Adobe Illustrator application.
public function get buildNumber():String
colorSettingsList | property |
colorSettingsList:Object
[read-only] Since : | CS5 |
The list of color settings files currently available for use.
public function get colorSettingsList():Object
coordinateSystem | property |
coordinateSystem:CoordinateSystem
Since : | CS5 |
Coordinate System used by script
public function get coordinateSystem():CoordinateSystem
public function set coordinateSystem(value:CoordinateSystem):void
defaultColorSettings | property |
defaultColorSettings:File
[read-only] Since : | CS5 |
The default color settings file for the current application locale.
public function get defaultColorSettings():File
documents | property |
documents:Documents
[read-only] Since : | CS5 |
The open documents.
public function get documents():Documents
flattenerPresetsList | property |
flattenerPresetsList:Object
[read-only] Since : | CS5 |
The list of flattener style names currently available for use.
public function get flattenerPresetsList():Object
freeMemory | property |
freeMemory:Number
[read-only] Since : | CS5 |
The amount of unused memory within the Adobe Illustrator partition.
public function get freeMemory():Number
locale | property |
locale:String
[read-only] Since : | CS5 |
The Locale of the Adobe Illustrator application.
public function get locale():String
name | property |
name:String
[read-only] Since : | CS5 |
The application's name.
public function get name():String
path | property |
path:File
[read-only] Since : | CS5 |
Path specification for the application.
public function get path():File
PDFPresetsList | property |
PDFPresetsList:Object
[read-only] Since : | CS5 |
The list of PDF preset names currently available for use.
public function get PDFPresetsList():Object
PPDFileList | property |
PPDFileList:Object
[read-only] Since : | CS5 |
The list of PPD files currently available for use. For performance reasons, the PPDFile entry only contains the model name and file spec of each PPD file.
public function get PPDFileList():Object
preferences | property |
preferences:Preferences
[read-only] Since : | CS5 |
Preferences for Illustrator.
public function get preferences():Preferences
printerList | property |
printerList:Object
[read-only] Since : | CS5 |
The list of installed printers.
public function get printerList():Object
printPresetsList | property |
printPresetsList:Object
[read-only] Since : | CS5 |
The list of print preset names currently available for use.
public function get printPresetsList():Object
scriptingVersion | property |
scriptingVersion:String
[read-only] Since : | CS5 |
The version of the Scripting plugin.
public function get scriptingVersion():String
selection | property |
selection:Object
Since : | CS5 |
The selection visible to the user.
public function get selection():Object
public function set selection(value:Object):void
startupPresetsList | property |
startupPresetsList:Object
[read-only] Since : | CS5 |
The list of presets available for creating a new document.
public function get startupPresetsList():Object
textFonts | property |
textFonts:TextFonts
[read-only] Since : | CS5 |
Installed fonts.
public function get textFonts():TextFonts
tracingPresetsList | property |
tracingPresetsList:Object
[read-only] Since : | CS5 |
The list of tracing preset names currently available for use.
public function get tracingPresetsList():Object
userInteractionLevel | property |
userInteractionLevel:UserInteractionLevel
Since : | CS5 |
What level of interaction with the user should be allowed when handling script commands.
public function get userInteractionLevel():UserInteractionLevel
public function set userInteractionLevel(value:UserInteractionLevel):void
version | property |
version:String
[read-only] Since : | CS5 |
The version of the Adobe Illustrator application.
public function get version():String
visible | property |
visible:Boolean
[read-only] Since : | CS5 |
Is the application visible.
public function get visible():Boolean
aATAddItem | () | method |
public function aATAddItem(sessionIndex:Number, destinationSequenceID:Number, destinationIndex:Number, srcItemIDData:String, type:String):String
Since : | CS5 |
Add the specified to the sequencer.
Parameters
sessionIndex:Number — (Number) The index in the session of the top-most sequence for the item to add.
| |
destinationSequenceID:Number — (Number) The UID for the owning sequence.
| |
destinationIndex:Number — (Number) The item UID where to insert.
| |
srcItemIDData:String — (String) The item ID of the item to construct.
| |
type:String — (String) The source of the item to construct.
|
String |
aATClear | () | method |
public function aATClear():String
Since : | CS5 |
Clear the sequencer.
ReturnsString |
aATDuplicateItem | () | method |
public function aATDuplicateItem(sessionIndex:Number, item:String):String
Since : | CS5 |
Duplicates the specified item(s) from the sequencer.
Parameters
sessionIndex:Number — (Number) The index in the session of the top-most sequence for the item to add.
| |
item:String — (String) The item UID(s)
|
String |
aATEditItem | () | method |
public function aATEditItem(sessionIndex:Number, item:String):String
Since : | CS5 |
Opens the specified item from the sequencer in the item editor.
Parameters
sessionIndex:Number — (Number) The index in the session of the top-most sequence for the item to add.
| |
item:String — (String) The item UID.
|
String |
aATErrorsExist | () | method |
public function aATErrorsExist():Boolean
Since : | CS5 |
Retrieves a boolean indicating the presence of errors in the last script to execute.
ReturnsBoolean |
aATExecuteSession | () | method |
public function aATExecuteSession():void
Since : | CS5 |
Executes the active session in the sequencer.
aATExecuteSessionFromFile | () | method |
public function aATExecuteSessionFromFile(file:File):void
Since : | CS5 |
Executes the active session in the sequencer.
Parameters
file:File — (flash.filesystem.File) Execute a session file.
|
aATFileRelativeChanged | () | method |
public function aATFileRelativeChanged(path:String, relative:String, newRelative:String):String
Since : | CS5 |
Switches a files relative token and path.
Parameters
path:String — (String) The path relative to the folder specified by Relative.
| |
relative:String — (String) The current relative path token.
| |
newRelative:String — (String) The new relative path token.
|
String |
aATFileSaveDialog | () | method |
public function aATFileSaveDialog(path:String, relative:String, type:String):String
Since : | CS5 |
Prompts the user to save a file or choose a file or directory and returns a relative path string to the file.
Parameters
path:String — (String) The path relative to the folder specified by Relative.
| |
relative:String — (String) The current relative path token.
| |
type:String — (String) The type of dialog to show in string format.
|
String |
aATGetEditorDialogFile | () | method |
public function aATGetEditorDialogFile():File
Since : | CS5 |
Retrieves a file path to the AAT editor swf.
ReturnsFile |
aATGetErrorDialogFile | () | method |
public function aATGetErrorDialogFile():File
Since : | CS5 |
Retrieves a file path to the AAT error dialog swf.
ReturnsFile |
aATGetListOfRelativePaths | () | method |
public function aATGetListOfRelativePaths():String
Since : | CS5 |
Gets an XML string listing the relative paths and the UI strings to display them.
ReturnsString |
aATGetSession | () | method |
public function aATGetSession():String
Since : | CS5 |
Get the active session for the sequncer.
ReturnsString |
aATLoadLibExtension | () | method |
public function aATLoadLibExtension():String
Since : | CS5 |
Loads a session file as an extension to the editor.
ReturnsString |
aATLoadModel | () | method |
public function aATLoadModel():String
Since : | CS5 |
Loads the aat model to the editor.
ReturnsString |
aATLoadSessionFile | () | method |
public function aATLoadSessionFile():String
Since : | CS5 |
Loads a session into the sequencer.
ReturnsString |
aATLoadUIExtension | () | method |
public function aATLoadUIExtension():String
Since : | CS5 |
Loads a UI description as an extension to the editor.
ReturnsString |
aATMoveItem | () | method |
public function aATMoveItem(sessionIndex:Number, moveThisID:String, newSessionIndex:Number, destinationSequenceID:String, destinationIndex:Number):String
Since : | CS5 |
Moves the specified in the sequencer.
Parameters
sessionIndex:Number — (Number) The index in the session of the top-most sequence for the item to move.
| |
moveThisID:String — (String) The UID of the item to replace.
| |
newSessionIndex:Number — (Number) The index in the session of the destination top-most sequence.
| |
destinationSequenceID:String — (String) The UID for the owning sequence.
| |
destinationIndex:Number — (Number) The index where to insert.
|
String |
aATRemoveItem | () | method |
public function aATRemoveItem(sessionIndex:Number, item:String):String
Since : | CS5 |
Removes the specified item from the sequencer.
Parameters
sessionIndex:Number — (Number) The index in the session of the top-most sequence for the item to add.
| |
item:String — (String) The item UID.
|
String |
aATReplaceItem | () | method |
public function aATReplaceItem(sessionIndex:Number, replaceThisID:Number, srcItemIDData:String, type:String):String
Since : | CS5 |
Replaces the specified to the sequencer.
Parameters
sessionIndex:Number — (Number) The index in the session of the top-most sequence for the item to add.
| |
replaceThisID:Number — (Number) The UID of the item to replace.
| |
srcItemIDData:String — (String) The item ID of the item to construct.
| |
type:String — (String) The source of the item to construct.
|
String |
aATSaveAsSession | () | method |
public function aATSaveAsSession():String
Since : | CS5 |
Saves the active session in the sequencer to a new file.
ReturnsString |
aATSaveSession | () | method |
public function aATSaveSession():String
Since : | CS5 |
Saves the active session in the sequencer to a file.
ReturnsString |
applyDataToItem | () | method |
public function applyDataToItem(sessionIndex:Number, item:String, data:String):String
Since : | CS5 |
Applies the data used in the item editor to the item.
Parameters
sessionIndex:Number — (Number) The index in the session of the top-most sequence for the item to edit.
| |
item:String — (String) The item UID.
| |
data:String — (String) The data to apply in XML format.
|
String |
applySingleDataPointToItem | () | method |
public function applySingleDataPointToItem(sessionIndex:Number, item:String, dataID:String, data:String):Boolean
Since : | CS5 |
Applies data to the specified item from the sequencer in the item editor.
Parameters
sessionIndex:Number — (Number) The index in the session of the top-most sequence for the item to add.
| |
item:String — (String) The item UID.
| |
dataID:String — (String) The data to apply in XML format.
| |
data:String — (String) The data to apply in XML format.
|
Boolean |
beep | () | method |
public function beep():void
Since : | CS5 |
concatenateMatrix | () | method |
public function concatenateMatrix(matrix:Matrix, secondMatrix:Matrix):Matrix
Since : | CS5 |
Concatenate two transformation matrices.
Parameters
matrix:Matrix — (com.adobe.illustrator.Matrix) The matrix that is to be added to.
| |
secondMatrix:Matrix — (com.adobe.illustrator.Matrix) Second transformation matrix.
|
Matrix |
concatenateRotationMatrix | () | method |
public function concatenateRotationMatrix(matrix:Matrix, angle:Number):Matrix
Since : | CS5 |
Concatenate a rotation matrix to a transformation matrix.
Parameters
matrix:Matrix — (com.adobe.illustrator.Matrix) The matrix that is to be added to.
| |
angle:Number — (Number) Angle of rotation (in degrees)
|
Matrix |
concatenateScaleMatrix | () | method |
public function concatenateScaleMatrix(matrix:Matrix, scaleX:Number = 100.0, scaleY:Number = 100.0):Matrix
Since : | CS5 |
Concatenate a scale matrix to a transformation matrix.
Parameters
matrix:Matrix — (com.adobe.illustrator.Matrix) The matrix that is to be added to.
| |
scaleX:Number (default = 100.0 ) — (Number) Horizontal scaling factor expressed as a percentage (100 = 100%) ( default: 100.0 )
| |
scaleY:Number (default = 100.0 ) — (Number) Vertical scaling factor expressed as a percentage (100 = 100%) ( default: 100.0 )
|
Matrix |
concatenateTranslationMatrix | () | method |
public function concatenateTranslationMatrix(matrix:Matrix, deltaX:Number = 0.0, deltaY:Number = 0.0):Matrix
Since : | CS5 |
Concatenate a translation to a transformation matrix.
Parameters
matrix:Matrix — (com.adobe.illustrator.Matrix) The matrix that is to be added to.
| |
deltaX:Number (default = 0.0 ) — (Number) Horizontal transformation. ( default: 0.0 )
| |
deltaY:Number (default = 0.0 ) — (Number) Vertical transformation. ( default: 0.0 )
|
Matrix |
convertSampleColor | () | method |
public function convertSampleColor(sourceColorSpace:ImageColorSpace, sourceColor:Object, destColorSpace:ImageColorSpace, colorConvertPurpose:ColorConvertPurpose, sourceHasAlpha:Boolean = false, destHasAlpha:Boolean = false):Object
Since : | CS5 |
Converts a sample-component color from one color space to another.
Parameters
sourceColorSpace:ImageColorSpace — (com.adobe.illustrator.ImageColorSpace) The source color space.
| |
sourceColor:Object — (Object) The color to convert, an array of color components. First location of the array should contain alpha if source-has-alpha is true.
| |
destColorSpace:ImageColorSpace — (com.adobe.illustrator.ImageColorSpace) The destination color space.
| |
colorConvertPurpose:ColorConvertPurpose — (com.adobe.illustrator.ColorConvertPurpose) The parameter which passes the purpose of conversion.
| |
sourceHasAlpha:Boolean (default = false ) — (Boolean) True if alpha channel is present in source color. ( default: false )
| |
destHasAlpha:Boolean (default = false ) — (Boolean) True if alpha channel is present in destination color. ( default: false )
|
Object |
copy | () | method |
public function copy():void
Since : | CS5 |
Copy current selection to the clipboard.
cut | () | method |
public function cut():void
Since : | CS5 |
Cut current selection to the clipboard.
getExecutionOutput | () | method |
public function getExecutionOutput():String
Since : | CS5 |
Retrieves a string containing the results of the last script to execute.
ReturnsString |
getIdentityMatrix | () | method |
getPPDFileInfo | () | method |
public function getPPDFileInfo(name:String):PPDFileInfo
Since : | CS5 |
Get detailed info from the specified PPD file.
Parameters
name:String — (String) The model name of the PPD file.
|
PPDFileInfo |
getPresetFileOfType | () | method |
public function getPresetFileOfType(presetType:DocumentPresetType):File
Since : | CS5 |
Given a preset type, returns the full path to the application's default document profile for the type.
Parameters
presetType:DocumentPresetType — (com.adobe.illustrator.DocumentPresetType) The preset type.
|
File |
getPresetSettings | () | method |
public function getPresetSettings(preset:String):DocumentPreset
Since : | CS5 |
Given a preset name, tries and retrieves the settings from the preset template.
Parameters
preset:String — (String) The name of the preset.
|
DocumentPreset |
getRotationMatrix | () | method |
public function getRotationMatrix(angle:Number = 0.0):Matrix
Since : | CS5 |
Returns a rotation transformation matrix.
Parameters
angle:Number (default = 0.0 ) — (Number) Angle of rotation (in degrees) ( default: 0.0 )
|
Matrix |
getScaleMatrix | () | method |
public function getScaleMatrix(scaleX:Number = 100.0, scaleY:Number = 100.0):Matrix
Since : | CS5 |
Returns a scale transformation matrix.
Parameters
scaleX:Number (default = 100.0 ) — (Number) Horizontal scaling factor expressed as a percentage (100 = 100%) ( default: 100.0 )
| |
scaleY:Number (default = 100.0 ) — (Number) Vertical scaling factor expressed as a percentage (100 = 100%) ( default: 100.0 )
|
Matrix |
getScriptableHelpGroup | () | method |
public function getScriptableHelpGroup():Object
Since : | CS5 |
Get the scriptable help group object that represents the search widget in the app bar.
ReturnsObject |
getTranslationMatrix | () | method |
public function getTranslationMatrix(deltaX:Number = 0.0, deltaY:Number = 0.0):Matrix
Since : | CS5 |
Returns a translation matrix.
Parameters
deltaX:Number (default = 0.0 ) — (Number) Horizontal transformation. ( default: 0.0 )
| |
deltaY:Number (default = 0.0 ) — (Number) Vertical transformation. ( default: 0.0 )
|
Matrix |
getVersionString | () | method |
public function getVersionString():String
Since : | CS5 |
Retrieves a string representing the AAT version.
ReturnsString |
invertMatrix | () | method |
public function invertMatrix(matrix:Matrix):Matrix
Since : | CS5 |
Invert a matrix.
Parameters
matrix:Matrix — (com.adobe.illustrator.Matrix) The matrix to invert.
|
Matrix |
isEqualMatrix | () | method |
public function isEqualMatrix(matrix:Matrix, secondMatrix:Matrix):Boolean
Since : | CS5 |
Compares two matrices for equality.
Parameters
matrix:Matrix — (com.adobe.illustrator.Matrix) First transformation matrix to compare.
| |
secondMatrix:Matrix — (com.adobe.illustrator.Matrix) Second transformation matrix.
|
Boolean |
isSingularMatrix | () | method |
public function isSingularMatrix(matrix:Matrix):Boolean
Since : | CS5 |
Tests if a matrix is singular (cannot be inverted)
Parameters
matrix:Matrix — (com.adobe.illustrator.Matrix) The matrix to check.
|
Boolean |
loadColorSettings | () | method |
public function loadColorSettings(fileSpec:File):void
Since : | CS5 |
Load the color settings from the file. If the file is an empty file spec, the color management will be turned off.
Parameters
fileSpec:File — (flash.filesystem.File) File spec for the color settings.
|
open | () | method |
public function open(file:File, documentColorSpace:DocumentColorSpace = null, options:Object = null):Document
Since : | CS5 |
Open the specified document file.
Parameters
file:File — (flash.filesystem.File) The file to be opened.
| |
documentColorSpace:DocumentColorSpace (default = null ) — (com.adobe.illustrator.DocumentColorSpace) Choose color space only for documents saved with multiple color models (pre-Illustrator 9)
| |
options:Object (default = null ) — (Object) Options for opening a particular type of file.
|
Document |
paste | () | method |
public function paste():void
Since : | CS5 |
Paste clipboard into the current document.
quit | () | method |
public function quit():void
Since : | CS5 |
Quit the application.
redo | () | method |
public function redo():void
Since : | CS5 |
Redo the last transaction.
redraw | () | method |
public function redraw():void
Since : | CS5 |
Force Illustrator to redraw its window(s)
runAPITest | () | method |
public function runAPITest(testName:String):void
Since : | CS5 |
Runs API Tests from the TestAPI Plug-in
Parameters
testName:String — (String) Arguments for Running Tests - eg. Name of Test/Suite
|
showPresets | () | method |
public function showPresets(fileSpec:File):Object
Since : | CS5 |
Get presets from the file.
Parameters
fileSpec:File — (flash.filesystem.File) File spec to import from.
|
Object |
translatePlaceholderText | () | method |
public function translatePlaceholderText(text:String):String
Since : | CS5 |
Translate the placeholder text to regular text. A method to enter unicode points in hex values.
Parameters
text:String — (String) The placeholder text to be translated.
|
String |
translateString | () | method |
public function translateString(key:String, source:String):String
Since : | CS5 |
Returns a string translated from the key and source data passed in.
Parameters
key:String — (String) The string to translate.
| |
source:String — (String) The plugin name from the source of the key.
|
String |
undo | () | method |
public function undo():void
Since : | CS5 |
Undo the last transaction.