public final class EmfPlusFillRects extends EmfPlusDrawingRecordType
The EmfPlusFillRects record specifies filling the interiors of a series of rectangles
| Constructor and Description |
|---|
EmfPlusFillRects(EmfPlusRecord source)
Initializes a new instance of the
EmfPlusFillRects 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.
|
boolean |
getCompressed()
Gets or sets a value indicating whether this
EmfPlusFillRects is compressed. |
RectangleF[] |
getRectData()
Gets or sets the rectangle data
An array of either an EmfPlusRect or EmfPlusRectF objects of Count length that defines the rectangle data.
|
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 |
setCompressed(boolean value)
Gets or sets a value indicating whether this
EmfPlusFillRects is compressed. |
void |
setRectData(RectangleF[] value)
Gets or sets the rectangle data
An array of either an EmfPlusRect or EmfPlusRectF objects of Count length that defines the rectangle data.
|
getDataSize, getFlags, getSize, getType, setDataSize, setFlags, setSizepublic EmfPlusFillRects(EmfPlusRecord source)
Initializes a new instance of the EmfPlusFillRects class.
source - The source.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 boolean getCompressed()
Gets or sets a value indicating whether this EmfPlusFillRects 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) object
true if compressed; otherwise, false.public void setCompressed(boolean value)
Gets or sets a value indicating whether this EmfPlusFillRects 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) object
true if compressed; 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.
public RectangleF[] getRectData()
Gets or sets the rectangle data An array of either an EmfPlusRect or EmfPlusRectF objects of Count length that defines the rectangle data.
public void setRectData(RectangleF[] value)
Gets or sets the rectangle data An array of either an EmfPlusRect or EmfPlusRectF objects of Count length that defines the rectangle data.
Copyright (c) 2008-2022 Aspose Pty Ltd. All Rights Reserved.