Class
Raster artwork item. Base Class: PageItem
colorize, duplicate, move, remove, removeAll, trace
RasterItem
QuickLinks
Hierarchy
Properties
Property | Type | Access | Description |
---|---|---|---|
bitsPerChannel | int | readonly | The number of bits per channel. |
boundingBox | Rect | r/w | Dimensions of raster art object regardless of transformations. |
channels | int | readonly | The number of image channels. |
colorants | Array of string | readonly | List of colorant names. |
colorizedGrayscale | bool | readonly | Is the raster art a colorized grayscale image? |
contentVariable | any | r/w | The content variable bound to this raster art object. |
embedded | bool | r/w | Is the raster art embedded within the illustration? |
file | File | readonly | The file containing the raster artwork. |
imageColorSpace | ImageColorSpace: ImageColorSpace.GrayScale ImageColorSpace.RGB ImageColorSpace.CMYK ImageColorSpace.LAB ImageColorSpace.Separation ImageColorSpace.DeviceN ImageColorSpace.Indexed |
readonly | The color space of the raster image. |
matrix | Matrix | r/w | The transformation matrix of the raster art object. |
overprint | bool | r/w | Is the raster art overprinting? |
parent | Object | readonly | The object's container. |
status | RasterLinkState: RasterLinkState.NODATA RasterLinkState.DATAFROMFILE RasterLinkState.DATAMODIFIED |
readonly | Status of the linked image. |
transparent | bool | readonly | Is the raster art transparent? |
typename | string | readonly | The class name of the object. |
Methods
Instances
void colorize (rasterColor:
Color)
Colorize the RasterItem with a CMYK or RGB Color.
Parameter | Type | Description |
---|---|---|
rasterColor | Color | The color to use for coloring the TIFF image. |
PageItem duplicate (relativeObject:
Object, insertionLocation:
ElementPlacement)
Duplicate this object.
Parameter | Type | Description |
---|---|---|
relativeObject | Object | |
insertionLocation | ElementPlacement |
PageItem move (relativeObject:
Object, insertionLocation:
ElementPlacement)
Move the object.
Parameter | Type | Description |
---|---|---|
relativeObject | Object | |
insertionLocation | ElementPlacement |
void remove ()
Deletes this object.
void removeAll ()
Deletes all elements.
PluginItem trace ()
Trace this raster object using default options. Reorders this raster to the source art.
Return
RasterItem RasterItems.[] (index: uint)
RasterItem RasterItems.getByName (name: string)
Jongware, 27-Jun-2010 v3.0.3d | Contents :: Index |