Menu

RulerLines

Agnar Renolen

RulerLines

RulerLines draws the ruler ticks in a ruler. They are painted across the entire width of the Ruler area.

Attributes

color

Specifies the color of the ruler line. Default value is black

width

Specifies the stroke width of the ruler lines in paper units. Default value is 1pt

interval

Specifies in map units, the distance between each line or tick. Required.

skip-interval

If the ruler lines are used to paint a subdivision, then this will prevent lines to be drawn at main division ticks. Optional.

Example

<RulerLines color="cmyk(100,0,0,0)" 
        width="0.2pt" 
        interval="1000m" 
        skip-interval="1000km"/>

Related

Wiki: Ruler

MongoDB Logo MongoDB