CARIS HPD : Portrayal : Drawing Instructions : Graphic Elements : Fill
 

Fill

Element

<Fill>

Description

Solid, transparent or pattern fill.

Example

Fill for a light sector colour band is set at 25% transparency.

Colour is read from the colour token.

DCLIGHTS.xsl

<xsl:element name="Fill">

  <xsl:attribute name="transparency">0.75</xsl:attribute>

  <xsl:attribute name="colour">

    <xsl:value-of select="$colourToken"/>

  </xsl:attribute>

</xsl:element>

Instruction Set

<Fill transparency="0.75" colour="Lights_Sectors_Red"/>

Attributes

Name

Type

Description

colour

String

Colour token reference to active colour table. Needed for colour fill but not for a pattern.

transparency

Double

Status: Optional.

Interval 0-1. 0 means opaque 1 means invisible. default is 0.