Selecting a Pattern by Type

Syntax: <overlay type="pattern-name" …/>

Example: <overlay rule="@ref='true'" type="striped-diag-up" label="Reference Compo&#xad;nent" />

Use: Specifies the name of pattern to use under specific criteria.

The type attribute specifies the name of a well-known pattern. The valid values of type are radial-grad, striped-diag-up and big-X. The radial-grad type creates a circular gradient that is white in the middle and transparent at the outer edge. The striped-diag-up type is a set of white diagonal stripes at a 45° angle from the lower-left to upper-right. The big-X type is a dark grey X in the centre of the component.

The following are the built-in pattern types:

  • radial-grad


    radial-grad

  • striped-diag-up


    striped-diag-up

  • big-X


    big-X