Next: , Previous: Propagation, Up: VCL Overview

8.1.6 VCL Properties

A common leaf node represents just an area and its border. Its visual appearance is defined by properties. There is a special node for setting properties – the non-leaf property node. A property set in that node applies to all its descendants until set to another value by another property node.

A property is a pair (key, value), where key is an integer constant and value is a byte sequence.

The list of defined property constants and byte sequence interpretations is as follows:

u32 – packed RGBA color data, used for area filling
u32 – packed RGBA color data, used for stroke border
double – the width of a border in local coords
u8 constant – cap style
u8 constant – join style

Values of cap and join styles are these (the meaning of cap style and join style is traditional, so we will not explain it):