CampusMapRoomLabelLayout class
A centered, optionally rotated room label fitted to its projected outline.
Constructors
- CampusMapRoomLabelLayout({required Offset center, required double angle, required Path clipPath, required TextPainter textPainter})
-
const
Properties
- angle → double
-
The upright room-axis rotation in radians.
final
- center → Offset
-
The label center in the same coordinate system as the supplied rings.
final
- clipPath → Path
-
The actual room boundary, with interior holes excluded.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- textPainter → TextPainter
-
The centered number and name, owned by the caller.
final
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.
inherited