Adobe Illustrator CS4 Type Library JS: RasterItem

Illustrator CS4

Class

RasterItem

 Raster artwork item. Base Class: PageItem

QuickLinks

colorize, duplicate, move, remove, removeAll, trace

Hierarchy

Object
PageItem
RasterItem

Properties

PropertyTypeAccessDescription
bitsPerChannelint readonlyThe number of bits per channel.
boundingBoxRect r/wDimensions of raster art object regardless of transformations.
channelsint readonlyThe number of image channels.
colorants Array of string readonlyList of colorant names.
colorizedGrayscalebool readonlyIs the raster art a colorized grayscale image?
contentVariableany r/wThe content variable bound to this raster art object.
embeddedbool r/wIs the raster art embedded within the illustration?
fileFile readonlyThe file containing the raster artwork.
imageColorSpaceImageColorSpace:
ImageColorSpace.GrayScale
ImageColorSpace.RGB
ImageColorSpace.CMYK
ImageColorSpace.LAB
ImageColorSpace.Separation
ImageColorSpace.DeviceN
ImageColorSpace.Indexed
readonlyThe color space of the raster image.
matrixMatrix r/wThe transformation matrix of the raster art object.
overprintbool r/wIs the raster art overprinting?
parentObject readonlyThe object's container.
statusRasterLinkState:
RasterLinkState.NODATA
RasterLinkState.DATAFROMFILE
RasterLinkState.DATAMODIFIED
readonlyStatus of the linked image.
transparentbool readonlyIs the raster art transparent?
typenamestring readonlyThe class name of the object.

Methods

Instances

void colorize (rasterColor: Color)
Colorize the RasterItem with a CMYK or RGB Color.

ParameterTypeDescription
rasterColorColorThe color to use for coloring the TIFF image.

PageItem duplicate (relativeObject: Object, insertionLocation: ElementPlacement)
Duplicate this object.

ParameterTypeDescription
relativeObjectObject
insertionLocationElementPlacement

PageItem move (relativeObject: Object, insertionLocation: ElementPlacement)
Move the object.

ParameterTypeDescription
relativeObjectObject
insertionLocationElementPlacement

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.3dContents :: Index