EmfPlusDrawEllipse

Inheritance: java.lang.Object, com.aspose.imaging.fileformats.emf.MetaObject, com.aspose.imaging.fileformats.emf.emfplus.records.EmfPlusRecord, com.aspose.imaging.fileformats.emf.emfplus.records.EmfPlusDrawingRecordType

public final class EmfPlusDrawEllipse extends EmfPlusDrawingRecordType

The EmfPlusDrawEllipse record specifies drawing an ellipse.

Constructors

ConstructorDescription
EmfPlusDrawEllipse(EmfPlusRecord source)Initializes a new instance of the EmfPlusDrawEllipse class.

Methods

MethodDescription
getObjectId()Gets or sets the object identifier.
setObjectId(byte value)Gets or sets the object identifier.
getCompressed()Gets or sets a value indicating whether the PointData is compressed.
setCompressed(boolean value)Gets or sets a value indicating whether the PointData is compressed.
getRectData()Gets or sets the rectangle data Either an EmfPlusRect or EmfPlusRectF object that defines the bounding box of the ellipse.
setRectData(RectangleF value)Gets or sets the rectangle data Either an EmfPlusRect or EmfPlusRectF object that defines the bounding box of the ellipse.

EmfPlusDrawEllipse(EmfPlusRecord source)

public EmfPlusDrawEllipse(EmfPlusRecord source)

Initializes a new instance of the EmfPlusDrawEllipse class.

Parameters:

ParameterTypeDescription
sourceEmfPlusRecordThe source.

getObjectId()

public byte getObjectId()

Gets or sets the object identifier. The index of an EmfPlusPen (section 2.2.1.7) object in the EMF+ Object Table to draw the ellipse. The value MUST be zero to 63, inclusive.

Value: The object identifier.

Returns: byte

setObjectId(byte value)

public void setObjectId(byte value)

Gets or sets the object identifier. The index of an EmfPlusPen (section 2.2.1.7) object in the EMF+ Object Table to draw the ellipse. The value MUST be zero to 63, inclusive.

Value: The object identifier.

Parameters:

ParameterTypeDescription
valuebyte

getCompressed()

public boolean getCompressed()

Gets or sets a value indicating whether the PointData is compressed. If set, RectData contains an EmfPlusRect object (section 2.2.2.38). If clear, RectData contains an EmfPlusRectF object (section 2.2.2.39).

Value: true if compressed; otherwise, false.

Returns: boolean

setCompressed(boolean value)

public void setCompressed(boolean value)

Gets or sets a value indicating whether the PointData is compressed. If set, RectData contains an EmfPlusRect object (section 2.2.2.38). If clear, RectData contains an EmfPlusRectF object (section 2.2.2.39).

Value: true if compressed; otherwise, false.

Parameters:

ParameterTypeDescription
valueboolean

getRectData()

public RectangleF getRectData()

Gets or sets the rectangle data Either an EmfPlusRect or EmfPlusRectF object that defines the bounding box of the ellipse.

Returns: RectangleF

setRectData(RectangleF value)

public void setRectData(RectangleF value)

Gets or sets the rectangle data Either an EmfPlusRect or EmfPlusRectF object that defines the bounding box of the ellipse.

Parameters:

ParameterTypeDescription
valueRectangleF