Class
Raster artwork item. Base Class: PageItem
colorize, duplicate, move, remove, removeAll, trace
RasterItem
QuickLinks
Hierarchy
Properties
Property | Type | Access | Description |
---|---|---|---|
bitsPerChannel | Int32 | readonly | The number of bits per channel. |
boundingBox | Rectangle | r/w | Dimensions of raster art object regardless of transformations. |
channels | Int32 | 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. |
RasterItem duplicate (relativeObject:
Object, insertionLocation:
ElementPlacement)
Duplicate this object.
Parameter | Type | Description |
---|---|---|
relativeObject | Object | |
insertionLocation | ElementPlacement |
RasterItem 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 RasterItem.duplicate (relativeObject: Object, insertionLocation: ElementPlacement)
RasterItem RasterItem.move (relativeObject: Object, insertionLocation: ElementPlacement)
RasterItem RasterItems.getByName (name: string)
Jongware, 25-Nov-2012 v3.0.3i | Contents :: Index |