2.2.2.11 EmfPlusCustomEndCapData Object

The EmfPlusCustomEndCapData object specifies a custom line cap for the end of a line.


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

CustomEndCapSize

CustomEndCap (variable)

...

CustomEndCapSize (4 bytes): An unsigned integer that specifies the size in bytes of the CustomEndCap field.

CustomEndCap (variable): A custom line cap that defines the shape to draw at the end of a line. It can be any of various shapes, including a square, circle, or diamond.

Custom line caps are specified by EmfPlusCustomLineCap objects (section 2.2.1.2). An EmfPlusCustomEndCapData object MUST be present in the OptionalData field of an EmfPlusPenData object (section 2.2.2.33), if the PenDataEndCap flag (section 2.1.2.7) is set in its PenDataFlags field.

See section 2.2.2 for the specification of additional structure objects.