Packagecom.adobe.illustrator
Classpublic class TracingOptions
InheritanceTracingOptions Inheritance IllustratorHostObject Inheritance CSHostObject Inheritance flash.utils.Proxy

Since : CS5

Tracing options that guide the tracing process.



Public Properties
 PropertyDefined By
  cornerAngle : Number
Corner angle.
TracingOptions
  fills : Boolean
Tracing with fills.
TracingOptions
 InheritedhostObjectDelegate : HostObject
Getter for the delegate
CSHostObject
  ignoreWhite : Boolean
Controls whether to ignore white fill color.
TracingOptions
  livePaintOutput : Boolean
Controls whether result art is LivePaint or classic art.
TracingOptions
  maxColors : Number
The number of colors allowed for automatic palette generation.
TracingOptions
  maxStrokeWeight : Number
Maximum stroke weight (stroke only).
TracingOptions
  minArea : Number
Minimum area.
TracingOptions
  minStrokeLength : Number
Minimum stroke length (stroke only).
TracingOptions
  outputToSwatches : Boolean
Controls whether named colors (swatches) are generated.
TracingOptions
  palette : String
The color palette used for tracing, empty string indicates automatic palette.
TracingOptions
 Inheritedparent : *
[read-only]
IllustratorHostObject
  pathFitting : Number
Path fitting.
TracingOptions
  preprocessBlur : Number
The blur amount during preprocessing.
TracingOptions
  preset : String
[read-only] The preset name use.
TracingOptions
  resample : Boolean
The resampling control.
TracingOptions
  resampleResolution : Number
The resampling resolution.
TracingOptions
  strokes : Boolean
Tracing with strokes.
TracingOptions
  threshold : Number
The threshold value for a black and white tracing.
TracingOptions
  tracingMode : TracingModeType
The tracing mode: color, gray, black and white.
TracingOptions
  viewRaster : ViewRasterType
The raster visualization mode.
TracingOptions
  viewVector : ViewVectorType
The vector visualization mode.
TracingOptions
Public Methods
 MethodDefined By
 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
  
loadFromPreset(presetName:String):Boolean
Load options from preset.
TracingOptions
 Inherited
replaceDefaultArgs(args:Array, defaultArgs:Array):Array
Function to tidy up arguments prior to call.
CSHostObject
  
storeToPreset(presetName:String):Boolean
Store options to a preset.
TracingOptions
 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
cornerAngleproperty
cornerAngle:Number

Since : CS5

Corner angle.


Implementation
    public function get cornerAngle():Number
    public function set cornerAngle(value:Number):void
fillsproperty 
fills:Boolean

Since : CS5

Tracing with fills. At least one of Fills and Strokes must be on.


Implementation
    public function get fills():Boolean
    public function set fills(value:Boolean):void
ignoreWhiteproperty 
ignoreWhite:Boolean

Since : CS5

Controls whether to ignore white fill color.


Implementation
    public function get ignoreWhite():Boolean
    public function set ignoreWhite(value:Boolean):void
livePaintOutputproperty 
livePaintOutput:Boolean

Since : CS5

Controls whether result art is LivePaint or classic art.


Implementation
    public function get livePaintOutput():Boolean
    public function set livePaintOutput(value:Boolean):void
maxColorsproperty 
maxColors:Number

Since : CS5

The number of colors allowed for automatic palette generation.


Implementation
    public function get maxColors():Number
    public function set maxColors(value:Number):void
maxStrokeWeightproperty 
maxStrokeWeight:Number

Since : CS5

Maximum stroke weight (stroke only).


Implementation
    public function get maxStrokeWeight():Number
    public function set maxStrokeWeight(value:Number):void
minAreaproperty 
minArea:Number

Since : CS5

Minimum area.


Implementation
    public function get minArea():Number
    public function set minArea(value:Number):void
minStrokeLengthproperty 
minStrokeLength:Number

Since : CS5

Minimum stroke length (stroke only).


Implementation
    public function get minStrokeLength():Number
    public function set minStrokeLength(value:Number):void
outputToSwatchesproperty 
outputToSwatches:Boolean

Since : CS5

Controls whether named colors (swatches) are generated.


Implementation
    public function get outputToSwatches():Boolean
    public function set outputToSwatches(value:Boolean):void
paletteproperty 
palette:String

Since : CS5

The color palette used for tracing, empty string indicates automatic palette.


Implementation
    public function get palette():String
    public function set palette(value:String):void
pathFittingproperty 
pathFitting:Number

Since : CS5

Path fitting.


Implementation
    public function get pathFitting():Number
    public function set pathFitting(value:Number):void
preprocessBlurproperty 
preprocessBlur:Number

Since : CS5

The blur amount during preprocessing.


Implementation
    public function get preprocessBlur():Number
    public function set preprocessBlur(value:Number):void
presetproperty 
preset:String  [read-only]

Since : CS5

The preset name use. Read-only.


Implementation
    public function get preset():String
resampleproperty 
resample:Boolean

Since : CS5

The resampling control.


Implementation
    public function get resample():Boolean
    public function set resample(value:Boolean):void
resampleResolutionproperty 
resampleResolution:Number

Since : CS5

The resampling resolution.


Implementation
    public function get resampleResolution():Number
    public function set resampleResolution(value:Number):void
strokesproperty 
strokes:Boolean

Since : CS5

Tracing with strokes. At least one of Fills and Strokes must be on.


Implementation
    public function get strokes():Boolean
    public function set strokes(value:Boolean):void
thresholdproperty 
threshold:Number

Since : CS5

The threshold value for a black and white tracing. ( 0 - 255 )


Implementation
    public function get threshold():Number
    public function set threshold(value:Number):void
tracingModeproperty 
tracingMode:TracingModeType

Since : CS5

The tracing mode: color, gray, black and white.


Implementation
    public function get tracingMode():TracingModeType
    public function set tracingMode(value:TracingModeType):void
viewRasterproperty 
viewRaster:ViewRasterType

Since : CS5

The raster visualization mode.


Implementation
    public function get viewRaster():ViewRasterType
    public function set viewRaster(value:ViewRasterType):void
viewVectorproperty 
viewVector:ViewVectorType

Since : CS5

The vector visualization mode.


Implementation
    public function get viewVector():ViewVectorType
    public function set viewVector(value:ViewVectorType):void
Method Detail
loadFromPreset()method
public function loadFromPreset(presetName:String):Boolean

Since : CS5

Load options from preset.

Parameters

presetName:String — (String) The name of the preset.

Returns
Boolean
storeToPreset()method 
public function storeToPreset(presetName:String):Boolean

Since : CS5

Store options to a preset. Will overwrite an existing (unlocked) preset if names match.

Parameters

presetName:String — (String) The name of the preset.

Returns
Boolean