EmfPlusFillRects

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 EmfPlusFillRects extends EmfPlusDrawingRecordType

The EmfPlusFillRects record specifies filling the interiors of a series of rectangles

Constructors

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

Methods

MethodDescription
isColor()Gets or sets a value indicating whether this instance is color.
setColor(boolean value)Gets or sets a value indicating whether this instance is color.
getCompressed()Gets or sets a value indicating whether this EmfPlusFillRects is compressed.
setCompressed(boolean value)Gets or sets a value indicating whether this EmfPlusFillRects is compressed.
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.
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.
getRectData()Gets or sets the rectangle data An array of either an EmfPlusRect or EmfPlusRectF objects of Count length that defines the rectangle data.
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.

EmfPlusFillRects(EmfPlusRecord source)

public EmfPlusFillRects(EmfPlusRecord source)

Initializes a new instance of the EmfPlusFillRects class.

Parameters:

ParameterTypeDescription
sourceEmfPlusRecordThe source.

isColor()

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.

Returns: boolean

setColor(boolean value)

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.

Parameters:

ParameterTypeDescription
valueboolean

getCompressed()

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

Value: true if compressed; otherwise, false.

Returns: boolean

setCompressed(boolean value)

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

Value: true if compressed; otherwise, false.

Parameters:

ParameterTypeDescription
valueboolean

getBrushId()

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.

Returns: int

setBrushId(int value)

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.

Parameters:

ParameterTypeDescription
valueint

getRectData()

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.

Returns: com.aspose.imaging.RectangleF[]

setRectData(RectangleF[] value)

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.

Parameters:

ParameterTypeDescription
valueRectangleF[]