EmfGradientFill 类

Summary: The EMR_GRADIENTFILL record specifies filling rectangles or triangles with gradients of color.

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

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

Inheritance: EmfDrawingRecordType

Constructors

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

Properties

NameTypeAccess描述
boundsRectangler/w获取或设置 WMF RectL 对象([MS-WMF] 第 2.2.2.19 节),指定一个
包含-包含设备单位的边界矩形。
n_triintr/w获取或设置 32 位无符号整数,指定要填充的矩形或三角形的数量。
n_verintr/w获取或设置 32 位无符号整数,指定顶点的数量。
sizeintr/w获取或设置记录的大小
typeEmfRecordTyper/w获取或设置类型。
ul_modeEmfGradientFillr/w获取或设置 32 位无符号整数,指定渐变填充模式。该值
必须位于 GradientFill 枚举中(第 2.1.15 节)。
vertex_dataEmfVertexDatar/w获取或设置对象,指定矩形或三角形的顶点以及
与之对应的颜色。

Methods

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

Constructor: EmfGradientFill(source)

 EmfGradientFill(source) 

初始化 EmfGradientFill 类的新实例。

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