Last updated

API / geotoolkit3d / scene / AnnotationBase / Mode

Enumeration: Mode

scene.AnnotationBase.Mode

Enum of display strategy.

The functions provided through this enum defines how the line linking the annotation text to the annotated object will be positioned.

Table of contents

Enumeration Members

Contents

Enumeration Members

Center

Center = "center"

Use the center of the bounding box of the parent (basically a geotoolkit3d.scene.well.schematic.SchematicBase).
Default behavior, the line goes from the center of the annotated shape to text.


Closest

Closest = "closest"

Always use the direct intersection from camera direction.
This computes the anchor of the line on the fly to be the closest vertex of the annotated shape from the text location.
Note that this implementation is more CPU demanding than the default one.