2.2.7.8 Custom Pattern
A fill, line, or line end in a shape, master, or style in a web drawing can be specified by a master. A fill, line, or line end specified in this way is called a custom pattern.
Custom patterns are specified by a Masters XML part. Each custom pattern is specified in a Master_Type child element of a Masters_Type element in a part. The PatternFlags attribute of a Master_Type element specifies the type and behavior of the custom pattern.
The visual appearance of a custom pattern is specified by the shapes in the Master XML part that corresponds to the master. Each shape is specified by a ShapeSheet_Type child element of the Shapes_Type descendant element of the MasterContents element in a part.
A shape, master, or style in a web drawing specifies a custom pattern according to the following table.
Custom pattern |
Description |
---|---|
Specified by a FillPattern Cell_Type element whose V attribute value is equal to 254. If the argument of the USE function token of the F attribute of the FillPattern Cell_Type element is equal to the NameU attribute of a master specified by a Master_Type element, the shape, master or style specifies a fill custom pattern specified by a Master_Type element.
|
|
Specified by a LinePattern Cell_Type element whose V attribute value is equal to 254. If the argument of the USE function token of the F attribute of the LinePattern Cell_Type element is equal to the NameU attribute of a master specified by a Master_Type element, the shape, master, or style specifies a line custom pattern specified by a Master_Type element.
|
|
Line end |
Specified by a BeginArrow or EndArrow Cell_Type element whose V attribute value is equal to 254. If the argument of the USE function token of the F attribute of the BeginArrow or EndArrow Cell_Type element is equal to the NameU attribute of a master specified by a Master_Type element, the shape, master, or style specifies a line end custom pattern specified by a Master_Type element.
|