CdrGraphicObject

Inheritance: java.lang.Object, com.aspose.imaging.DisposableObject, com.aspose.imaging.fileformats.cdr.objects.CdrObject

public abstract class CdrGraphicObject extends CdrObject

The cdr graphic object

Constructors

ConstructorDescription
CdrGraphicObject()

Methods

MethodDescription
getWidth()Gets the x.
setWidth(double value)Sets the x.
getHeight()Gets the y.
setHeight(double value)Sets the y.
getBoundsInPixels()Gets the bounds in pixels.
setBoundsInPixels(RectangleF value)Sets the bounds in pixels.
getClipId()Gets the clip identifier.
setClipId(short value)Sets the clip identifier.

CdrGraphicObject()

public CdrGraphicObject()

getWidth()

public double getWidth()

Gets the x.

Returns: double - the x

setWidth(double value)

public void setWidth(double value)

Sets the x.

Parameters:

ParameterTypeDescription
valuedoublethe x

getHeight()

public double getHeight()

Gets the y.

Returns: double - the y.

setHeight(double value)

public void setHeight(double value)

Sets the y.

Parameters:

ParameterTypeDescription
valuedoublethe y.

getBoundsInPixels()

public RectangleF getBoundsInPixels()

Gets the bounds in pixels.

Returns: RectangleF - the bounds in pixels.

setBoundsInPixels(RectangleF value)

public void setBoundsInPixels(RectangleF value)

Sets the bounds in pixels.

Parameters:

ParameterTypeDescription
valueRectangleFthe bounds in pixels.

getClipId()

public final short getClipId()

Gets the clip identifier.

Value: The clip identifier.

Returns: short - the clip identifier.

setClipId(short value)

public final void setClipId(short value)

Sets the clip identifier.

Value: The clip identifier.

Parameters:

ParameterTypeDescription
valueshortthe clip identifier.