EmfPolygon16 类

Summary: The EMR_POLYGON16 record specifies a polygon consisting of two or more vertexes connected by
straight lines. The polygon is outlined by using the current pen and filled by using the current brush
and polygon fill mode. The polygon is closed automatically by drawing a line from the last vertex to the first.

Module: aspose.imaging.fileformats.emf.emf.records

Full Name: aspose.imaging.fileformats.emf.emf.records.EmfPolygon16

Inheritance: EmfPolyShape

Constructors

Name描述
EmfPolygon16()初始化一个新的 EmfPolygon16 类实例。
EmfPolygon16(source)初始化一个新的 EmfPolygon16 类实例。

Properties

NameTypeAccess描述
a_pointsPoint[]r/w获取或设置 WMF PointL 对象数组([MS-WMF] 第 2.2.2.15 节),指定以逻辑单位表示的点数据。
boundsRectangler/w获取或设置 128 位 WMF RectL 对象([MS-WMF] 第 2.2.2.19 节),指定设备单位中的边界矩形。
sizeintr/w获取或设置记录的大小
typeEmfRecordTyper/w获取或设置类型。

Methods

Name描述
create_from_record(source)初始化 EmfRecord 类的新实例。
create_from_type(type)初始化 EmfRecord 类的新实例。

Constructor: EmfPolygon16()

 EmfPolygon16() 

初始化一个新的 EmfPolygon16 类实例。

Constructor: EmfPolygon16(source)

 EmfPolygon16(source) 

初始化一个新的 EmfPolygon16 类实例。

Parameters:

参数TypeDescription
sourceEmfRecord来源。

Method: create_from_record(source) [static]

 create_from_record(source) 

初始化 EmfRecord 类的新实例。

Parameters:

参数TypeDescription
sourceEmfRecord来源。

Returns

TypeDescription
EmfRecord

Method: create_from_type(type) [static]

 create_from_type(type) 

初始化 EmfRecord 类的新实例。

Parameters:

参数TypeDescription
typeEmfRecordType记录类型。

Returns

TypeDescription
EmfRecord