Menu

RulerLabels

Agnar Renolen

RulerLabels

Use this to create coordinate labels for the ruler. The labels may not be inside the ruler frame itself, but their position will always refer to the inner edge of the ruler frame.

Attributes

color

Specifies the text color. Default value is black.

font

Specifies the font to use foe the labels. Default is Helvetica

size

Specifies the text size to use for the labels. Defaults to 10pt.

offset

Specifies the distance from the main frame to the coordine

interval

Specifies in map units, the distance between each label. Required.

skip-interval

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

align

Specifies the label alignment relative to the map frame and offset position. Legal values are:

  • outward (default)
  • inward
  • center
orientation

Specifies the main orientation of the labels. Must be one of the following values, which refers to the main frame:

  • outward
  • inward
  • horizontal (default)
text-align

Specifies the text alignment. This value will be ignored if the text orientation is perpendicular to the egde of te main fram it belongs to. In which case, orientation will determine the text alignment. Legal values are:

  • center (default)
  • left
  • right
shift

Specifies in paper units additional displacement for the text. For top and bottom rulers, positive values are to the right, for left and right rulers, positive valuers are upwards. You may use this to displace the labels to not collide with the ruler lines.

Content / Child elements

The content of the the RulerLabels element is a combination of static text and [CoordValue] place holders.


Related

Wiki: CoordValue
Wiki: Ruler

MongoDB Logo MongoDB