RasterizeOptions

Options which may be supplied when rasterizing the artwork.

Constants/Events

Name

Type

Access

Description

antiAliasingMethod

AntiAliasingMethod

AntiAliasingMethod.ARTOPTIMIZED

AntiAliasingMethod.None

AntiAliasingMethod.TYPEOPTIMIZED

readonly

The type of antialiasing method.

backgroundBlack

Boolean

readonly

Should rasterize against a black background instead of white.

clippingMask

Boolean

readonly

Should a clipping mask be created for the resulting image.

colorModel

RasterizationColorModel

RasterizationColorModel.BITMAP

RasterizationColorModel.DEFAULTCOLORMODEL

RasterizationColorModel.GRAYSCALE

readonly

The color model for the rasterization.

convertSpotColors

Boolean

readonly

Whether to convert all spot colors to process colors in the resulting image.

convertTextToOutlines

Boolean

readonly

Should all text be converted to outlines before rasterization.

includeLayers

Boolean

readonly

Should the resulting image incorporates the layer attributes (such as opacity and blend mode)

padding

Number

readonly

The amount of white space (in points) to be added around the object during rasterization.

resolution

Number (range 72.0 - 2400.0)

readonly

The rasterization resolution in dots-per-inch (dpi)

transparency

Boolean

readonly

Should the resulting image use transparency.