EmfPlusFillPolygon
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 EmfPlusFillPolygon extends EmfPlusDrawingRecordType
The EmfPlusFillPolygon record specifies filling the interior of a polygon.
Constructors
Constructor | Description |
---|---|
EmfPlusFillPolygon(EmfPlusRecord source) | Initializes a new instance of the EmfPlusFillPolygon class. |
Methods
Method | Description |
---|---|
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. |
isCompressed() | Gets or sets a value indicating whether this instance is compressed. |
setCompressed(boolean value) | Gets or sets a value indicating whether this instance is compressed. |
isRelative() | Gets or sets a value indicating whether this instance is relative. |
setRelative(boolean value) | Gets or sets a value indicating whether this instance is relative. |
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. |
getPointData() | Gets or sets the point data An array of Count points that define the vertices of the polygon. |
setPointData(PointF[] value) | Gets or sets the point data An array of Count points that define the vertices of the polygon. |
EmfPlusFillPolygon(EmfPlusRecord source)
public EmfPlusFillPolygon(EmfPlusRecord source)
Initializes a new instance of the EmfPlusFillPolygon
class.
Parameters:
Parameter | Type | Description |
---|---|---|
source | EmfPlusRecord | The 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:
Parameter | Type | Description |
---|---|---|
value | boolean |
isCompressed()
public boolean isCompressed()
Gets or sets a value indicating whether this instance is compressed. If set, PointData specifies absolute locations in the coordinate space with 16-bit integer coordinates. If clear, PointData specifies absolute locations in the coordinate space with 32-bit floating-point coordinates
Value: true
if this instance is compressed; otherwise, false
.
Returns: boolean
setCompressed(boolean value)
public void setCompressed(boolean value)
Gets or sets a value indicating whether this instance is compressed. If set, PointData specifies absolute locations in the coordinate space with 16-bit integer coordinates. If clear, PointData specifies absolute locations in the coordinate space with 32-bit floating-point coordinates
Value: true
if this instance is compressed; otherwise, false
.
Parameters:
Parameter | Type | Description |
---|---|---|
value | boolean |
isRelative()
public boolean isRelative()
Gets or sets a value indicating whether this instance is relative. If set, each element in PointData specifies a location in the coordinate space that is relative to the location specified by the previous element in the array. In the case of the first element in PointData, a previous location at coordinates (0,0) is assumed. If clear, PointData specifies absolute locations according to the C flag
Value: true
if this instance is relative; otherwise, false
.
Returns: boolean
setRelative(boolean value)
public void setRelative(boolean value)
Gets or sets a value indicating whether this instance is relative. If set, each element in PointData specifies a location in the coordinate space that is relative to the location specified by the previous element in the array. In the case of the first element in PointData, a previous location at coordinates (0,0) is assumed. If clear, PointData specifies absolute locations according to the C flag
Value: true
if this instance is relative; otherwise, false
.
Parameters:
Parameter | Type | Description |
---|---|---|
value | boolean |
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:
Parameter | Type | Description |
---|---|---|
value | int |
getPointData()
public PointF[] getPointData()
Gets or sets the point data An array of Count points that define the vertices of the polygon. The first two points in the array specify the first side of the polygon. Each additional point specifies a new side, the vertices of which include the point and the previous point. If the last point and the first point do not coincide, they specify the last side of the polygon.
Returns: com.aspose.imaging.PointF[]
setPointData(PointF[] value)
public void setPointData(PointF[] value)
Gets or sets the point data An array of Count points that define the vertices of the polygon. The first two points in the array specify the first side of the polygon. Each additional point specifies a new side, the vertices of which include the point and the previous point. If the last point and the first point do not coincide, they specify the last side of the polygon.
Parameters:
Parameter | Type | Description |
---|---|---|
value | PointF[] |