Fill Attribute

This object stores attributes associated with filling output graphics such as shape objects. It determines how the fill of these shapes is rendered.

Attributes

AID
Attribute
Description
Object Id

Unique identifier of the object. This must be unique within the object pool (2 bytes, 0-65534).

Type

The type of the object.

Fill Type

Type of fill.

0 = no fill
1 = fill with line colour
2 = fill with the colour specified in the fill colour attribute
3 = fill with the pattern specified by the fill pattern attribute

Fill Colour

The colour for the fill when fill type is set to 2. Ignored for all other fill type values.

Fill Pattern

Object ID of a Picture Graphic object to be used as the fill pattern. Ignored if fill type ≠ 3.

To change from fill type 0, 1 or 2 to fill type 3, the Working Set must first change the fill pattern attribute and then the fill type attribute in order to avoid errors in the VT.

If this order is not followed, the behaviour of the VT cannot be predicted and is proprietary.

If fill type is 3 and the fill pattern attribute is NULL, no fill is performed by the VT.

Number of Macros to follow

Number of contained macro references, even if it is zero.

Each macro reference consists of 2 bytes: one for the event Id and one for the macro Id.

When the specified event occurs, the associated macro is executed. VT version 5 and later: A reference to a macro with a 16-bit Object Id counts as 2 macro references in the context of this attribute.

Used in