EmfPie
Inheritance: java.lang.Object, com.aspose.imaging.fileformats.emf.MetaObject, com.aspose.imaging.fileformats.emf.emf.records.EmfRecord, com.aspose.imaging.fileformats.emf.emf.records.EmfDrawingRecordType
public final class EmfPie extends EmfDrawingRecordType
The EMR_PIE record specifies a pie-shaped wedge bounded by the intersection of an ellipse and two radials. The pie is outlined by using the current pen and filled by using the current brush.
Constructors
| Constructor | Description |
|---|---|
| EmfPie(EmfRecord source) | Initializes a new instance of the EmfPie class. |
| EmfPie() | Initializes a new instance of the EmfPie class. |
Methods
| Method | Description |
|---|---|
| getBox() | Gets or sets a 128-bit WMF RectL object, specified in [MS-WMF] section 2.2.2.19, which specifies the inclusive-inclusive bounding rectangle. |
| setBox(Rectangle value) | Gets or sets a 128-bit WMF RectL object, specified in [MS-WMF] section 2.2.2.19, which specifies the inclusive-inclusive bounding rectangle. |
| getStart() | Gets or sets a 64-bit WMF PointL objects, specified in [MS-WMF] section 2.2.2.15, which specifies the coordinates, in logical units, of the endpoint of the first radial. |
| setStart(Point value) | Gets or sets a 64-bit WMF PointL objects, specified in [MS-WMF] section 2.2.2.15, which specifies the coordinates, in logical units, of the endpoint of the first radial. |
| getEnd() | Gets or sets a 64-bit PointL object that specifies the coordinates, in logical units, of the endpoint of the second radial. |
| setEnd(Point value) | Gets or sets a 64-bit PointL object that specifies the coordinates, in logical units, of the endpoint of the second radial. |
EmfPie(EmfRecord source)
public EmfPie(EmfRecord source)
Initializes a new instance of the EmfPie class.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| source | EmfRecord | The source. |
EmfPie()
public EmfPie()
Initializes a new instance of the EmfPie class.
getBox()
public Rectangle getBox()
Gets or sets a 128-bit WMF RectL object, specified in [MS-WMF] section 2.2.2.19, which specifies the inclusive-inclusive bounding rectangle.
Returns: Rectangle
setBox(Rectangle value)
public void setBox(Rectangle value)
Gets or sets a 128-bit WMF RectL object, specified in [MS-WMF] section 2.2.2.19, which specifies the inclusive-inclusive bounding rectangle.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | Rectangle |
getStart()
public Point getStart()
Gets or sets a 64-bit WMF PointL objects, specified in [MS-WMF] section 2.2.2.15, which specifies the coordinates, in logical units, of the endpoint of the first radial.
Returns: Point
setStart(Point value)
public void setStart(Point value)
Gets or sets a 64-bit WMF PointL objects, specified in [MS-WMF] section 2.2.2.15, which specifies the coordinates, in logical units, of the endpoint of the first radial.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | Point |
getEnd()
public Point getEnd()
Gets or sets a 64-bit PointL object that specifies the coordinates, in logical units, of the endpoint of the second radial.
Returns: Point
setEnd(Point value)
public void setEnd(Point value)
Gets or sets a 64-bit PointL object that specifies the coordinates, in logical units, of the endpoint of the second radial.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | Point |