Adobe Illustrator CS4 Type Library JS: RasterizeOptions

Illustrator CS4

Class

RasterizeOptions

 Options which may be supplied when rasterizing the artwork.

Class

PropertyTypeAccessDescription
antiAliasingMethodAntiAliasingMethod:
AntiAliasingMethod.None
AntiAliasingMethod.ARTOPTIMIZED
AntiAliasingMethod.TYPEOPTIMIZED
r/wThe type of antialiasing method. (default: AntiAliasingMethod.ARTOPTIMIZED)
backgroundBlackbool r/wShould rasterize against a black background instead of white. (default: false)
clippingMaskbool r/wShould a clipping mask be created for the resulting image. (default: false)
colorModelRasterizationColorModel:
RasterizationColorModel.DEFAULTCOLORMODEL
RasterizationColorModel.GRAYSCALE
RasterizationColorModel.BITMAP
r/wThe color model for the rasterization. (default: RasterizationColorModel.DEFAULTCOLORMODEL)
convertSpotColorsbool r/wWhether to convert all spot colors to process colors in the resulting image. (default: false)
convertTextToOutlinesbool r/wShould all text be converted to outlines before rasterization. (default: false)
includeLayersbool r/wShould the resulting image incorporates the layer attributes (such as opacity and blend mode) (default: false)
paddingnumber r/wThe amount of white space (in points) to be added around the object during rasterization. (default: 0)
resolutionnumber (range: 72.0 - 2400.0) r/wThe rasterization resolution in dots-per-inch (dpi) (default: 300)
transparencybool r/wShould the resulting image use transparency. (default: false)

Used in:

PageItem Document.rasterize (sourceArt: any[, clipBounds: Rect][, options: RasterizeOptions])

Jongware, 27-Jun-2010 v3.0.3dContents :: Index