CdrRasterizationOptions

Inheritance: java.lang.Object, com.aspose.imaging.DisposableObject, com.aspose.imaging.ImageOptionsBase, com.aspose.imaging.imageoptions.VectorRasterizationOptions

public class CdrRasterizationOptions extends VectorRasterizationOptions

With the ability to perform CDR image rasterization and set scale factors for both X and Y dimensions, this API provides precise control over the transformation process. Whether scaling for specific output requirements or converting vector graphics to raster formats, you can leverage this API for efficient and customizable CDR vector to raster image conversion.

Constructors

ConstructorDescription
CdrRasterizationOptions()Initializes a new instance of the CdrRasterizationOptions class.

Methods

MethodDescription
getScaleX()Gets the scale x.
setScaleX(float scaleX)Sets the scale x.
getScaleY()Gets the scale y.
setScaleY(float scaleY)Sets the scale y.

CdrRasterizationOptions()

public CdrRasterizationOptions()

Initializes a new instance of the CdrRasterizationOptions class.

getScaleX()

public float getScaleX()

Gets the scale x.

Returns: float

setScaleX(float scaleX)

public void setScaleX(float scaleX)

Sets the scale x.

Parameters:

ParameterTypeDescription
scaleXfloat

getScaleY()

public float getScaleY()

Gets the scale y.

Returns: float

setScaleY(float scaleY)

public void setScaleY(float scaleY)

Sets the scale y.

Parameters:

ParameterTypeDescription
scaleYfloat