2.2.7.2 Line Properties

A shape, master, or style in a web drawing can possess a variety of properties relating to the visual appearance of lines. A collection of properties defining the visual appearance of a shape, master, or style’s line is called a line property. Each shape, master, or style has one line property.

Line properties allow a shape, master, or style to take on a variety of line styles, including full transparency, solid colors, gradients, and strokes. These properties can be combined with a fill property and an effect property.

The line properties of shapes in a web drawing are specified in the Page XML Part. Each line property is specified in a ShapeSheet_Type child element of the Shapes_Type descendant element of the PageContents element in a part.

The line properties of masters in a web drawing are specified in the Master XML Part. Each line property is specified in a ShapeSheet_Type child element of the Shapes_Type descendant element of the MasterContents element in a part.

The line properties of styles in a web drawing are specified in the Document XML Part. Each line property is specified in a StyleSheet_Type child element of the StyleSheets_Type child element of the VisioDocument element in a part.

Line property information in shapes, masters, and styles is specified by the LineColor, LinePattern, LineWeight, LineCap, BeginArrow, EndArrow, LineColorTrans, CompoundType, BeginArrowSize, EndArrowSize, Rounding, LineGradientDir, LineGradientAngle, and LineGradientEnabled Cell_Type elements, and the Cell_Type elements belonging to the LineGradient Section_Type