RasterizeOptions
RasterizeOptions
Section titled “RasterizeOptions”rasterizeOptions
Description
Section titled “Description”Specifies options that may be supplied when rasterizing artwork.
All properties are optional.
Properties
Section titled “Properties”RasterizeOptions.antiAliasingMethod
Section titled “RasterizeOptions.antiAliasingMethod”rasterizeOptions.antiAliasingMethod
Description
Section titled “Description”The type of antialiasing method.
Default: AntiAliasingMethod.ARTOPTIMIZED
RasterizeOptions.backgroundBlack
Section titled “RasterizeOptions.backgroundBlack”rasterizeOptions.backgroundBlack
Description
Section titled “Description”If true
, the rasterization is done against a black background (instead of white).
Default: false
Boolean
RasterizeOptions.clippingMask
Section titled “RasterizeOptions.clippingMask”rasterizeOptions.clippingMask
Description
Section titled “Description”If true
, a clipping mask should be created for the image.
Default: false
Boolean
RasterizeOptions.colorModel
Section titled “RasterizeOptions.colorModel”rasterizeOptions.colorModel
Description
Section titled “Description”The color model for the rasterization.
Default: RasterizationColorModel.DEFAULTCOLORMODEL
RasterizeOptions.convertSpotColors
Section titled “RasterizeOptions.convertSpotColors”rasterizeOptions.convertSpotColors
Description
Section titled “Description”If true
, spot colors should be converted to process colors for the image.
Default: false
Boolean
RasterizeOptions.convertTextToOutlines
Section titled “RasterizeOptions.convertTextToOutlines”rasterizeOptions.convertTextToOutlines
Description
Section titled “Description”If true
, all text is converted to outlines before rasterization.
Default: false
Boolean
RasterizeOptions.includeLayers
Section titled “RasterizeOptions.includeLayers”rasterizeOptions.includeLayers
Description
Section titled “Description”If true
, the resulting image incorporates layer attributes (like opacity and blend mode).
Default: false
Boolean
RasterizeOptions.padding
Section titled “RasterizeOptions.padding”rasterizeOptions.padding
Description
Section titled “Description”The amount of white space (in points) to be added around the object during rasterization.
Default: .0
Number (double)
RasterizeOptions.resolution
Section titled “RasterizeOptions.resolution”rasterizeOptions.resolution
Description
Section titled “Description”The rasterization resolution in dots per inch (dpi).
Range: 72.0 to 2400.0.
Default: 300.0
Number (double)
RasterizeOptions.transparency
Section titled “RasterizeOptions.transparency”rasterizeOptions.transparency
Description
Section titled “Description”If true
, the image should use transparency.
Default: false
Boolean