EmfRoundRect 类

Summary: The EMR_ROUNDRECT record specifies a rectangle with rounded corners. The rectangle is outlined
by using the current pen and filled by using the current brush.

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

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

Inheritance: EmfDrawingRecordType

Constructors

Name描述
EmfRoundRect()初始化 EmfRoundRect 类的新实例。
EmfRoundRect(source)初始化 EmfRoundRect 类的新实例。

Properties

NameTypeAccess描述
boxRectangler/w获取或设置一个128位 WMF RectL 对象,指定于 [MS-WMF] 第 2.2.2.19 节,
指定要绘制的包含-包含矩形。
cornerSizer/w获取或设置一个64位 WMF SizeL 对象,指定于 [MS-WMF] 第 2.2.2.22 节,
指定用于绘制圆角的椭圆在逻辑坐标中的宽度和高度。
sizeintr/w获取或设置记录的大小
typeEmfRecordTyper/w获取或设置类型。

Methods

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

Constructor: EmfRoundRect()

 EmfRoundRect() 

初始化 EmfRoundRect 类的新实例。

Constructor: EmfRoundRect(source)

 EmfRoundRect(source) 

初始化 EmfRoundRect 类的新实例。

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