ArAnnotation class abstract
A point of interest shown by ArView. Extend it with your own data.
Only uid and position are inputs: the other fields are computed and updated in place by the layout on every frame.
Constructors
Properties
- arPosition ↔ Offset
-
Top-left corner of the label in the view's coordinates, before
arPositionOffset.
getter/setter pair
- arPositionOffset ↔ Offset
-
Vertical shift of the label stacked above overlapping ones.
getter/setter pair
- arScale ↔ double
-
Scale of the label, set by the layout (see
AnnotationLayoutConfig.scaleWithDistance). The label is scaled around
its center.
getter/setter pair
- azimuth ↔ double
-
Bearing from the user to the POI, in degrees from true north.
getter/setter pair
- distanceFromUser ↔ double
-
Distance from the user, in meters.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- isVisible ↔ bool
-
Whether the label is currently on screen (false when grouped into
another label, see AnnotationLayoutResult.groups).
getter/setter pair
- position ↔ Position
-
Location of the POI. Its altitude is only used with
AnnotationLayoutConfig.useAltitude.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- uid ↔ String
-
Unique identifier, used to keep the label's state across frames.
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited