2.2.2.6 Layer

A web drawing can have layers. A shape belongs to zero or more layers. A layer can contain zero or more shapes. A layer specifies additional information about the shapes that it contains such as color, color transparency, and visibility.

A layer in a web drawing is specified by the Row_Type child element of a Layer Section_Type element.  A Layer Section_Type element is a child of a PageSheet_Type element associated with the page.

Each Row_Type child element of the Layer Section_Type element contains information for a single layer. A layer is uniquely identified by the IX attribute of that layer’s Row_Type.

A collection of Cell_Type elements that define a layer’s properties is composed of Color, Visible, Lock, and ColorTrans.

The layer membership of a shape is specified by the LayerMember Cell_Type element in the ShapeSheet_Type element of the shape.