EmfPlusFillPath 类

Summary: Fill path record
FLAGS:
16-bit unsigned integer that provides information about how the operation is to be performed,
and about the structure of the record.
0 1 2 3 4 5 6 7 8 9 1 0 1 2 3 4 5 6 7 8 9 2 0 1 2 3 4 5 6 7 8 9 3 0 1
S X X X X X X X | ObjectId |
S (1 bit): This bit indicates the type of data in the BrushId field.
If set, BrushId specifies a color as an EmfPlusARGB object (section 2.2.2.1). If clear, BrushId contains the index of an EmfPlusBrush object (section 2.2.1.1) in the EMF+ Object Table.
X (1 bit): Reserved and MUST be ignored.
ObjectId (1 byte): The index of the EmfPlusPath object (section 2.2.1.6) to fill, in the EMF+ Object Table. The value MUST be zero to 63, inclusive.

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

Full Name: aspose.imaging.fileformats.emf.emfplus.records.EmfPlusFillPath

Inheritance: EmfPlusDrawingRecordType

Constructors

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

Properties

NameTypeAccess描述
brush_idintr/w获取或设置 Brush ID
一个 32 位无符号整数,用于定义画笔,其内容由 Flags 字段中的 S 位决定。
data_sizeintr/w获取或设置一个 32 位无符号整数,必须定义后续 RecordData 字段中数据的 32 位对齐字节数。
此数字不包括 12 字节的记录头。
flagsintr/w获取或设置一个 16 位无符号整数,包含关于某些记录的
操作方式以及记录结构的信息。
is_colorboolr/w获取或设置一个值,指示此实例是否为颜色。
如果设置,BrushId 指定为 EmfPlusARGB 对象(第 2.2.2.1 节)中的颜色。如果未设置,
BrushId 包含 EMF+ 对象表中 EmfPlusBrush 对象(第 2.2.1.1 节)的索引。
object_idSystem.Byter/w获取或设置对象标识符。
要填充的 EmfPlusPath 对象(第 2.2.1.6 节)在 EMF+ 对象表中的索引。该值必须在 0 到 63(含)之间。
sizeintr/w获取或设置一个 32 位无符号整数,指定整个记录中 32 位对齐的字节数
(包括 12 字节的记录头和特定于记录的数据)。
typeEmfPlusRecordTyper获取一个 16 位无符号整数,以标识记录类型。

Constructor: EmfPlusFillPath(source)

 EmfPlusFillPath(source) 

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

Parameters:

参数TypeDescription
sourceEmfPlusRecord来源。