Packagecom.adobe.illustrator
Classpublic class TracingObject
InheritanceTracingObject Inheritance IllustratorHostObject Inheritance CSHostObject Inheritance flash.utils.Proxy

Since : CS5

A tracing object.



Public Properties
 PropertyDefined By
  anchorCount : Number
[read-only] The number of anchors in the tracing result.
TracingObject
  areaCount : Number
[read-only] The number of areas in the tracing result.
TracingObject
 InheritedhostObjectDelegate : HostObject
Getter for the delegate
CSHostObject
  imageResolution : Number
[read-only] The resolution of the source image (in pixels per inch).
TracingObject
 Inheritedparent : *
[read-only]
IllustratorHostObject
  pathCount : Number
[read-only] The number of paths in the tracing result.
TracingObject
  sourceArt : PageItem
[read-only] The source art used when creating a new tracing object.
TracingObject
  tracingOptions : TracingOptions
[read-only] The options used when tracing the artwork.
TracingObject
  usedColorCount : Number
[read-only] The number of colors used in the tracing result.
TracingObject
Public Methods
 MethodDefined By
  
expandTracing(viewed:Boolean = false):GroupItem
Expand the tracing to paths.
TracingObject
 Inherited
filterArgsForHBAPI(args:Array):Array
[static] Function to clean up the argument list and put it into a format that makes sense for HBAPI.
CSHostObject
 Inherited
filterSingleObjectForHBAPI(value:Object):Object
[static]
CSHostObject
 Inherited
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
 Inherited
getSpecialTranslation(className:String, ho:HostObject, expectedReturnType:Class, ownerName:String):*
[static]
CSHostObject
 Inherited
hostCall(name:String, expectedReturnType:Class, rawargs:Array):*
Encapsulates a function call to the host
CSHostObject
 Inherited
hostCallStatic(className:String, methodName:String, expectedReturnType:Class, rawargs:Array):*
[static] Implements a safe call of a static method on the host
CSHostObject
 Inherited
hostGet(name:String, expectedReturnType:Class):*
Encapsulates a property get to the host
CSHostObject
 Inherited
hostGetIndex(idx:Object, expectedReturnType:Class):*
Encapsulates a indexed get to the host
CSHostObject
 Inherited
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
 Inherited
hostSet(name:String, rawvalue:*):void
Encapsulates a property set to the host
CSHostObject
 Inherited
hostSetStatic(className:String, propertyName:String, rawvalue:*):*
[static] Implements a safe set of a static property on the host
CSHostObject
 Inherited
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
  
Release the source artwork for the tracing object.
TracingObject
 Inherited
replaceDefaultArgs(args:Array, defaultArgs:Array):Array
Function to tidy up arguments prior to call.
CSHostObject
 Inherited
wrapReturnedHostObject(rawObject:Object, expectedReturnType:Class, client:CSHostObject, propertyName:String):*
[static] Method used on static/normal get/ hostcalls
CSHostObject
Protected Methods
 MethodDefined By
 Inherited
createWithArgs(args:Array):void
CSHostObject
 Inherited
hostCreate(args:Array):void
CSHostObject
Property Detail
anchorCountproperty
anchorCount:Number  [read-only]

Since : CS5

The number of anchors in the tracing result.


Implementation
    public function get anchorCount():Number
areaCountproperty 
areaCount:Number  [read-only]

Since : CS5

The number of areas in the tracing result.


Implementation
    public function get areaCount():Number
imageResolutionproperty 
imageResolution:Number  [read-only]

Since : CS5

The resolution of the source image (in pixels per inch).


Implementation
    public function get imageResolution():Number
pathCountproperty 
pathCount:Number  [read-only]

Since : CS5

The number of paths in the tracing result.


Implementation
    public function get pathCount():Number
sourceArtproperty 
sourceArt:PageItem  [read-only]

Since : CS5

The source art used when creating a new tracing object.


Implementation
    public function get sourceArt():PageItem
tracingOptionsproperty 
tracingOptions:TracingOptions  [read-only]

Since : CS5

The options used when tracing the artwork.


Implementation
    public function get tracingOptions():TracingOptions
usedColorCountproperty 
usedColorCount:Number  [read-only]

Since : CS5

The number of colors used in the tracing result.


Implementation
    public function get usedColorCount():Number
Method Detail
expandTracing()method
public function expandTracing(viewed:Boolean = false):GroupItem

Since : CS5

Expand the tracing to paths. Deletes this tracing object.

Parameters

viewed:Boolean (default = false) — (Boolean) Expand as viewed with the raster and vector view modes. ( default: false )

Returns
GroupItem
releaseTracing()method 
public function releaseTracing():PageItem

Since : CS5

Release the source artwork for the tracing object. Deletes this tracing object.

Returns
PageItem