public final class EmfPlusFillRegion extends EmfPlusDrawingRecordType
The EmfPlusFillRegion record specifies filling the interior of a graphics region
Constructor and Description |
---|
EmfPlusFillRegion(EmfPlusRecord source)
Initializes a new instance of the
EmfPlusFillRegion class. |
Modifier and Type | Method and Description |
---|---|
int |
getBrushId()
Gets or sets the brush identifier
A 32-bit unsigned integer that defines the brush, the content of which is determined by the S bit in the Flags field.
|
byte |
getObjectId()
Gets or sets the object identifier.
|
boolean |
isColor()
Gets or sets a value indicating whether this instance is color.
|
void |
setBrushId(int value)
Gets or sets the brush identifier
A 32-bit unsigned integer that defines the brush, the content of which is determined by the S bit in the Flags field.
|
void |
setColor(boolean value)
Gets or sets a value indicating whether this instance is color.
|
void |
setObjectId(byte value)
Gets or sets the object identifier.
|
getDataSize, getFlags, getSize, getType, setDataSize, setFlags, setSize
public EmfPlusFillRegion(EmfPlusRecord source)
Initializes a new instance of the EmfPlusFillRegion
class.
source
- The source.public byte getObjectId()
Gets or sets the object identifier. The index of the EmfPlusRegion object (section 2.2.1.8) to fill, in the EMF+ Object Table. 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 the EmfPlusRegion object (section 2.2.1.8) to fill, in the EMF+ Object Table. The value MUST be zero to 63, inclusive.
Value: The object identifier.public boolean isColor()
Gets or sets a value indicating whether this instance is color. If set, BrushId specifies a color as an EmfPlusARGB object (section 2.2.2.1). If clear, BrushId contains the index of an EmfPlusBrush object (section 2.2.1.1) in the EMF+ Object Table.
Value:true
if this instance is color; otherwise, false
.public void setColor(boolean value)
Gets or sets a value indicating whether this instance is color. If set, BrushId specifies a color as an EmfPlusARGB object (section 2.2.2.1). If clear, BrushId contains the index of an EmfPlusBrush object (section 2.2.1.1) in the EMF+ Object Table.
Value:true
if this instance is color; otherwise, false
.public int getBrushId()
Gets or sets the brush identifier A 32-bit unsigned integer that defines the brush, the content of which is determined by the S bit in the Flags field.
public void setBrushId(int value)
Gets or sets the brush identifier A 32-bit unsigned integer that defines the brush, the content of which is determined by the S bit in the Flags field.