EmfGradientFill Class
Contents
[
Hide
]Summary: The EMR_GRADIENTFILL record specifies filling rectangles or triangles with gradients of color.
Module: aspose.imaging.fileformats.emf.emf.records
Full Name: aspose.imaging.fileformats.emf.emf.records.EmfGradientFill
Inheritance: EmfDrawingRecordType
Constructors
| Name | Description |
|---|---|
| EmfGradientFill(source) | Initializes a new instance of the EmfGradientFill class. |
Properties
| Name | Type | Access | Description |
|---|---|---|---|
| bounds | Rectangle | r/w | Gets or sets a WMF RectL object ([MS-WMF] section 2.2.2.19) that specifies a bounding rectangle, in inclusive-inclusive device units. |
| n_tri | int | r/w | Gets or sets a 32-bit unsigned integer that specifies the number of rectangles or triangles to fill. |
| n_ver | int | r/w | Gets or sets a 32-bit unsigned integer that specifies the number of vertexes. |
| size | int | r/w | Gets or sets the size of the record |
| type | EmfRecordType | r/w | Gets or sets the type. |
| ul_mode | EmfGradientFill | r/w | Gets or sets a 32-bit unsigned integer that specifies the gradient fill mode. The value MUST be in the GradientFill enumeration (section 2.1.15). |
| vertex_data | EmfVertexData | r/w | Gets or sets objects that specify the vertexes of either rectangles or triangles and the colors that correspond to them. |
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: EmfGradientFill(source)
EmfGradientFill(source)
Initializes a new instance of the EmfGradientFill 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 |