EmfRoundRect Class
Contents
[
Hide
]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
| Name | Description |
|---|---|
| EmfRoundRect() | Initializes a new instance of the EmfRoundRect class. |
| EmfRoundRect(source) | Initializes a new instance of the EmfRoundRect class. |
Properties
| Name | Type | Access | Description |
|---|---|---|---|
| box | Rectangle | r/w | Gets 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. |
| corner | Size | r/w | Gets 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. |
| size | int | r/w | Gets or sets the size of the record |
| type | EmfRecordType | r/w | Gets or sets the type. |
Methods
| Name | Description |
|---|---|
| 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:
| Parameter | Type | Description |
|---|---|---|
| source | EmfRecord | The source. |
Method: create_from_record(source) [static]
create_from_record(source)
Initializes a new instance of the EmfRecord class.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| source | EmfRecord | The source. |
Returns
| Type | Description |
|---|---|
| EmfRecord |
Method: create_from_type(type) [static]
create_from_type(type)
Initializes a new instance of the EmfRecord class.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| type | EmfRecordType | The record type. |
Returns
| Type | Description |
|---|---|
| EmfRecord |