Class
Tracing options that guide the tracing process.
loadFromPreset, storeToPreset
TracingOptions
QuickLinks
Hierarchy
Properties
Property | Type | Access | Description |
---|---|---|---|
cornerAngle | number | r/w | Corner angle. |
fills | bool | r/w | Tracing with fills. At least one of Fills and Strokes must be on. |
ignoreWhite | bool | r/w | Controls whether to ignore white fill color. |
livePaintOutput | bool | r/w | Controls whether result art is LivePaint or classic art. |
maxColors | int | r/w | The number of colors allowed for automatic palette generation. |
maxStrokeWeight | number | r/w | Maximum stroke weight (stroke only). |
minArea | int | r/w | Minimum area. |
minStrokeLength | number | r/w | Minimum stroke length (stroke only). |
outputToSwatches | bool | r/w | Controls whether named colors (swatches) are generated. |
palette | string | r/w | The color palette used for tracing, empty string indicates automatic palette. |
parent | Object | readonly | The object's container. |
pathFitting | number | r/w | Path fitting. |
preprocessBlur | number | r/w | The blur amount during preprocessing. |
preset | string | readonly | The preset name use. Read-only. |
resample | bool | r/w | The resampling control. |
resampleResolution | number | r/w | The resampling resolution. |
strokes | bool | r/w | Tracing with strokes. At least one of Fills and Strokes must be on. |
threshold | int (range: 0 - 255) | r/w | The threshold value for a black and white tracing. |
tracingMode | TracingModeType: TracingModeType.TRACINGMODECOLOR TracingModeType.TRACINGMODEGRAY TracingModeType.TRACINGMODEBLACKANDWHITE |
r/w | The tracing mode: color, gray, black and white. |
typename | string | readonly | The class name of the object. |
viewRaster | ViewRasterType: ViewRasterType.TRACINGVIEWRASTERNOIMAGE ViewRasterType.TRACINGVIEWRASTERORIGINALIMAGE ViewRasterType.TRACINGVIEWRASTERADJUSTEDIMAGE ViewRasterType.TRACINGVIEWRASTERTRANSPARENTIMAGE |
r/w | The raster visualization mode. |
viewVector | ViewVectorType: ViewVectorType.TRACINGVIEWVECTORNOTRACINGRESULT ViewVectorType.TRACINGVIEWVECTORTRACINGRESULT ViewVectorType.TRACINGVIEWVECTOROUTLINES ViewVectorType.TRACINGVIEWVECTOROUTLINESWITHTRACING |
r/w | The vector visualization mode. |
Methods
Instances
bool loadFromPreset (presetName:
string)
Load options from preset.
Parameter | Type | Description |
---|---|---|
presetName | string | The name of the preset. |
bool storeToPreset (presetName:
string)
Store options to a preset. Will overwrite an existing (unlocked) preset if names match.
Parameter | Type | Description |
---|---|---|
presetName | string | The name of the preset. |
Element of
TracingObject.tracingOptions
Jongware, 27-Jun-2010 v3.0.3d | Contents :: Index |