public final class EmfPlusDrawEllipse extends EmfPlusDrawingRecordType
The EmfPlusDrawEllipse record specifies drawing an ellipse.
Constructor and Description |
---|
EmfPlusDrawEllipse(EmfPlusRecord source)
Initializes a new instance of the
EmfPlusDrawEllipse class. |
Modifier and Type | Method and Description |
---|---|
boolean |
getCompressed()
Gets or sets a value indicating whether the PointData is compressed.
|
byte |
getObjectId()
Gets or sets the object identifier.
|
RectangleF |
getRectData()
Gets or sets the rectangle data
Either an EmfPlusRect or EmfPlusRectF object that defines the bounding box of the ellipse.
|
void |
setCompressed(boolean value)
Gets or sets a value indicating whether the PointData is compressed.
|
void |
setObjectId(byte value)
Gets or sets the object identifier.
|
void |
setRectData(RectangleF value)
Gets or sets the rectangle data
Either an EmfPlusRect or EmfPlusRectF object that defines the bounding box of the ellipse.
|
getDataSize, getFlags, getSize, getType, setDataSize, setFlags, setSize
public EmfPlusDrawEllipse(EmfPlusRecord source)
Initializes a new instance of the EmfPlusDrawEllipse
class.
source
- The source.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.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.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
.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
.public RectangleF getRectData()
Gets or sets the rectangle data Either an EmfPlusRect or EmfPlusRectF object that defines the bounding box of the ellipse.
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.