2.2.2.14 EmfPlusCustomLineCapOptionalData Object

The EmfPlusCustomLineCapOptionalData object specifies optional fill and outline data for a custom line cap.

Note: Each field specified for this object is optional and might not be present in the OptionalData field of an EmfPlusCustomLineCapData object (section 2.2.2.13), depending on the CustomLineCapData flags (section 2.1.2.2) set in its CustomLineCapDataFlags field. Although it is not practical to represent every possible combination of fields present or absent, this section specifies their relative order in the object. The implementer is responsible for determining which fields are actually present in a given metafile record, and for unmarshaling the data for individual fields separately and appropriately.


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

FillData (variable)

...

OutlineData (variable)

...

FillData (variable): An optional EmfPlusFillPath object (section 2.2.2.17) that specifies the path for filling a custom graphics line cap. This field MUST be present if the CustomLineCapDataFillPath flag is set in the CustomLineCapDataFlags field of the EmfPlusCustomLineCapData object.

OutlineData (variable): An optional EmfPlusLinePath object (section 2.2.2.26) that specifies the path for outlining a custom graphics line cap. This field MUST be present if the CustomLineCapDataLinePath flag is set in the CustomLineCapDataFlags field of the EmfPlusCustomLineCapData object.

Custom line caps are specified by EmfPlusCustomLineCap objects (section 2.2.1.2).

See section 2.2.2 for the specification of additional structure objects.