Class
Options which may be supplied when rasterizing the artwork.
RasterizeOptions
Class
Property | Type | Access | Description |
---|---|---|---|
antiAliasingMethod | AntiAliasingMethod: AntiAliasingMethod.None AntiAliasingMethod.ARTOPTIMIZED AntiAliasingMethod.TYPEOPTIMIZED |
r/w | The type of antialiasing method. (default: AntiAliasingMethod.ARTOPTIMIZED) |
backgroundBlack | bool | r/w | Should rasterize against a black background instead of white. (default: false) |
clippingMask | bool | r/w | Should a clipping mask be created for the resulting image. (default: false) |
colorModel | RasterizationColorModel: RasterizationColorModel.DEFAULTCOLORMODEL RasterizationColorModel.GRAYSCALE RasterizationColorModel.BITMAP |
r/w | The color model for the rasterization. (default: RasterizationColorModel.DEFAULTCOLORMODEL) |
convertSpotColors | bool | r/w | Whether to convert all spot colors to process colors in the resulting image. (default: false) |
convertTextToOutlines | bool | r/w | Should all text be converted to outlines before rasterization. (default: false) |
includeLayers | bool | r/w | Should the resulting image incorporates the layer attributes (such as opacity and blend mode) (default: false) |
padding | number | r/w | The amount of white space (in points) to be added around the object during rasterization. (default: 0) |
resolution | number (range: 72.0 - 2400.0) | r/w | The rasterization resolution in dots-per-inch (dpi) (default: 300) |
transparency | bool | r/w | Should the resulting image use transparency. (default: false) |
Used in:
PageItem Document.rasterize (sourceArt: any[, clipBounds: Rectangle][, options: RasterizeOptions])
Jongware, 25-Nov-2012 v3.0.3i | Contents :: Index |