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

ConstructorDescription
EmfPie(EmfRecord source)Initializes a new instance of the EmfPie class.
EmfPie()Initializes a new instance of the EmfPie class.

Methods

MethodDescription
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:

ParameterTypeDescription
sourceEmfRecordThe 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:

ParameterTypeDescription
valueRectangle

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:

ParameterTypeDescription
valuePoint

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:

ParameterTypeDescription
valuePoint