MarkAnnotation class

The specification of a mark annotation.

Inheritance

Constructors

MarkAnnotation({required Path relativePath, required Paint style, double? elevation, List<String>? variables, List? values, Offset anchor(Size)?, bool? clip, int? layer})
Creates a mark annotation.

Properties

anchor ↔ (Offset Function(Size)?)
Indicates the anchor position of this annotation directly.
getter/setter pairinherited
clip bool?
Whether this figure annotation should be cliped within the coordinate region.
getter/setter pairinherited
elevation double?
The shadow elevation of this mark.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
layer int?
The layer of this annotation.
getter/setter pairinherited
relativePath Path
The relative path definition of the mark.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
style Paint
The style of this mark.
getter/setter pair
values List?
The values of variables for position.
getter/setter pairinherited
variables List<String>?
The variables in each dimension refered to for position.
getter/setter pairinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
override