EmfRoundRect Class

Summary: The EMR_ROUNDRECT record specifies a rectangle with rounded corners. The rectangle 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.EmfRoundRect

Inheritance: EmfDrawingRecordType

Constructors

NameDescription
EmfRoundRect()Initializes a new instance of the EmfRoundRect class.
EmfRoundRect(source)Initializes a new instance of the EmfRoundRect 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 rectangle to draw.
cornerSizer/wGets or sets a 64-bit WMF SizeL object, specified in [MS-WMF] section 2.2.2.22, which
specifies the width and height, in logical coordinates, of the ellipse used to draw the rounded corners.
sizeintr/wGets or sets the size of the record
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: EmfRoundRect()

 EmfRoundRect() 

Initializes a new instance of the EmfRoundRect class.

Constructor: EmfRoundRect(source)

 EmfRoundRect(source) 

Initializes a new instance of the EmfRoundRect 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