Rectangle

This object outputs a rectangular shape.

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.

Line Attributes

Object ID of a Line Attributes object that is used for the line attributes.

Width

Width of the object in pixels.

Height

Height of the object in pixels.

Line Suppression

Line suppression. These options can be combined.

0 = Closed rectangle
Bit 0 = 1 = Suppress top line (smallest Y value)
Bit 1 = 1 = Suppress right side line (largest X value)
Bit 2 = 1 = Suppress bottom line (largest Y value)
Bit 3 = 1 = Suppress left side line (smallest X value) NOTE: When drawing a filled rectangle with line suppression, only the pixels that are on the border of the rectangle are suppressed (not drawn). The line width must be taken into account to determine the width of the border.

Fill Attributes

Object Id of a Fill Attributes object to be used for the fill attributes, or NULL for no fill.

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.