EmfPie Class

Summary: 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.

Module: aspose.imaging.fileformats.emf.emf.records

Full Name: aspose.imaging.fileformats.emf.emf.records.EmfPie

Inheritance: EmfDrawingRecordType

Aspose.Imaging Version: 24.5.0

Constructors

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

Properties

NameTypeAccessDescription
boxRectangler/wGets or sets a 128-bit WMF RectL object, specified in [MS-WMF] section 2.2.2.19, which
specifies the inclusive-inclusive bounding rectangle.
endPointr/wGets or sets a 64-bit PointL object that specifies the coordinates, in logical units, of the
endpoint of the second radial.
sizeintr/wGets or sets the size of the record
startPointr/wGets 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.
typeEmfRecordTyper/wGets or sets the type.

Methods

NameDescription
create_from_record(source)Initializes a new instance of the EmfRecord class.
create_from_type(type)Initializes a new instance of the EmfRecord class.

Constructor: EmfPie()

 EmfPie() 

Initializes a new instance of the EmfPie class.

Constructor: EmfPie(source)

 EmfPie(source) 

Initializes a new instance of the EmfPie class.

Parameters:

ParameterTypeDescription
sourceEmfRecordThe source.

Method: create_from_record(source) [static]

 create_from_record(source) 

Initializes a new instance of the EmfRecord class.

Parameters:

ParameterTypeDescription
sourceEmfRecordThe source.

Returns

TypeDescription
EmfRecord

Method: create_from_type(type) [static]

 create_from_type(type) 

Initializes a new instance of the EmfRecord class.

Parameters:

ParameterTypeDescription
typeEmfRecordTypeThe record type.

Returns

TypeDescription
EmfRecord