EmfPaintRgn 类
内容
[
隐藏
]Summary: The EMR_PAINTRGN record paints the specified region by using the brush currently selected into the
playback device context.
Module: aspose.imaging.fileformats.emf.emf.records
Full Name: aspose.imaging.fileformats.emf.emf.records.EmfPaintRgn
Inheritance: EmfDrawingRecordType
Constructors
| Name | 描述 |
|---|---|
| EmfPaintRgn() | 初始化 EmfPaintRgn 类的新实例。 |
| EmfPaintRgn(source) | 初始化 EmfPaintRgn 类的新实例。 |
Properties
| Name | Type | Access | 描述 |
|---|---|---|---|
| bounds | Rectangle | r/w | 获取或设置一个 128 位 WMF RectL 对象,在 [MS-WMF] 第 2.2.2.19 节中指定, 该对象指定边界矩形。 |
| rgn_data | EmfRegionData | r/w | 获取或设置一个 RgnDataSize 长度的字节数组,用于指定 RegionData(第 2.2.24 节)对象,单位为逻辑单位。 |
| rgn_data_size | int | r/w | 获取或设置一个 32 位无符号整数,指定区域数据的大小(以字节为单位)。 |
| size | int | r/w | 获取或设置记录的大小 |
| type | EmfRecordType | r/w | 获取或设置类型。 |
Methods
| Name | 描述 |
|---|---|
| create_from_record(source) | 初始化 EmfRecord 类的新实例。 |
| create_from_type(type) | 初始化 EmfRecord 类的新实例。 |
Constructor: EmfPaintRgn()
EmfPaintRgn()
初始化 EmfPaintRgn 类的新实例。
Constructor: EmfPaintRgn(source)
EmfPaintRgn(source)
初始化 EmfPaintRgn 类的新实例。
Parameters:
| 参数 | Type | Description |
|---|---|---|
| source | EmfRecord | 来源。 |
Method: create_from_record(source) [static]
create_from_record(source)
初始化 EmfRecord 类的新实例。
Parameters:
| 参数 | Type | Description |
|---|---|---|
| source | EmfRecord | 来源。 |
Returns
| Type | Description |
|---|---|
| EmfRecord |
Method: create_from_type(type) [static]
create_from_type(type)
初始化 EmfRecord 类的新实例。
Parameters:
| 参数 | Type | Description |
|---|---|---|
| type | EmfRecordType | 记录类型。 |
Returns
| Type | Description |
|---|---|
| EmfRecord |