EmfCloseFigure 类
Summary: This record closes an open figure in a path.
Processing the EMR_CLOSEFIGURE record MUST close the figure by drawing a line
from the current position to the first point of the figure, and then it MUST connect
the lines by using the line join style.If a figure is closed by processing the
EMR_LINETO record instead of the EMR_CLOSEFIGURE record, end caps are
used to create the corner instead of a join.EMR_LINETO is specified in section
2.3.5.13.
The EMR_CLOSEFIGURE record SHOULD only be used if there is an open path
bracket in the playback device context.
A figure in a path is open unless it is explicitly closed by processing this record.
Module: aspose.imaging.fileformats.emf.emf.records
Full Name: aspose.imaging.fileformats.emf.emf.records.EmfCloseFigure
Inheritance: EmfPathBracketRecordType
Constructors
| Name | 描述 |
|---|---|
| EmfCloseFigure() | 初始化 EmfCloseFigure 类的新实例。 |
Properties
| Name | Type | Access | 描述 |
|---|---|---|---|
| size | int | r/w | 获取或设置记录的大小 |
| type | EmfRecordType | r/w | 获取或设置类型。 |
Methods
| Name | 描述 |
|---|---|
| create_from_record(source) | 初始化 EmfRecord 类的新实例。 |
| create_from_type(type) | 初始化 EmfRecord 类的新实例。 |
Constructor: EmfCloseFigure()
EmfCloseFigure()
初始化 EmfCloseFigure 类的新实例。
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 |