EmfAngleArc 类

Summary: The EMR_ANGLEARC record specifies a line segment of an arc. The line segment is drawn from the
current position to the beginning of the arc. The arc is drawn along the perimeter of a circle with the
given radius and center. The length of the arc is defined by the given start and sweep angles

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

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

Inheritance: EmfDrawingRecordType

Constructors

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

Properties

NameTypeAccess描述
centerPointr/w获取或设置一个 64 位 WMF PointL 对象,在 [MS-WMF] 第 2.2.2.15 节中指定,
用于指定圆心的逻辑坐标。
半径intr/w获取或设置一个 32 位无符号整数,指定圆的半径(逻辑单位)。
sizeintr/w获取或设置记录的大小
start_anglefloatr/w获取或设置一个 32 位浮点数,指定弧的起始角度(度)。
sweep_anglefloatr/w获取或设置一个 32 位浮点数,指定弧的扫过角度(度)。
typeEmfRecordTyper/w获取或设置类型。

Methods

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

Constructor: EmfAngleArc()

 EmfAngleArc() 

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

Constructor: EmfAngleArc(source)

 EmfAngleArc(source) 

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

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