CARIS HPD : Portrayal : Drawing Instructions : Graphic Elements : Leader Line
 

Leader Line

Element

<LeaderLine>

Description

A line drawn from a feature or drawing element to a reference destination.

The destination and origin are defined as parameters and a LineStyle element defines the style in which the leader will be drawn.

The LeaderLine must contain a LineStyle element to describe how the line is to be drawn. The LeaderLine may contain a CoverBox, PointText or Symbol.

If the current feature is an annotation of another feature then the leader line can be drawn between the two feature locations and no CoverBox, PointText or Symbol is needed.

Attributes

Name

Type

Description

destination

Enumerated

Status: Mandatory

The destination or end point of the leader line.

Two values are available: Feature and Parent.

Feature is the one on which the drawing instruction set is pinned.

Parent refers to the parent feature if the current feature is a component of a composition association such as a slave or annotation.

If the LeaderLine is coming from a graphic element on the current feature to the current feature then the destination is Feature.

If the LeaderLine is drawn from an annotation feature or graphic element to the real feature then the destination is Parent.

origin

Enumerated

Status: Mandatory

Origin of the leader line.

Five values are available:

Feature

Element

BoxCentre

BoxCorner

BoxSide.

Element is the reference position of the child element (e.g. Symbol, PointText).

Feature means use the position of the Feature when the Feature is an annotation of a Parent.

If the LeaderLine is associated with a CoverBox then the origin may be the centre, the closest corner or closest edge (centre) of the associated CoverBox element.

isMasked

Boolean

Status: Optional.

This Indicates whether a LeaderLine should be masked by the graphic elements which are associated with it.

The mask style is always convex_hull.

The mask will be applied to the CoverBox, PointText or Symbol element that is associated with the LeaderLine.

Default is True.

maskBuffer

Decimal

Status: Optional.

Width of the mask buffer that is applied to the associated elements when ismasked = true.

Default is 0.