Dot class

A rendered dot primitive in 3D space with projection coordinates and ink properties.

Constructors

Dot({required double x, required double y, required double z, required double r, required double white, double? a = 1.0})

Properties

a → double?
Opacity multiplier in range 0.0, 1.0.
final
alpha → double
Resolved alpha value (defaults to 1.0 if null).
no setter
hashCode → int
The hash code for this object.
no setterinherited
r ↔ double
Rendered radius in logical pixels.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
white → double
Ink value: 0.0 = darkest ink, 1.0 = lightest ink. On dark themes, this value is inverted (1.0 - white) so near dots read bright.
final
x → double
Projected 2D x coordinate in logical pixels.
final
y → double
Projected 2D y coordinate in logical pixels.
final
z → double
Depth z coordinate for depth-sorting and shading.
final

Methods

copyWith({double? x, double? y, double? z, double? r, double? white, double? a}) → Dot
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