StyletInkTrail class final

Opt-in delegated ink trail drawn by a supporting browser compositor.

Properties

color → Color
Current delegated trail color.
no setter
diameter → double
Current delegated trail diameter in CSS pixels.
no setter
hashCode → int
The hash code for this object.
no setterinherited
presentationArea → Element
Element bounding the area where delegated ink may be displayed.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

dispose() → void
Stops forwarding pointer events to the browser compositor.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited
updateStyle({Color? color, double? diameter}) → void
Changes the style used by subsequent delegated trail updates.

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Static Properties

isSupported → bool
Whether the current browser exposes the experimental Ink API.
no setter

Static Methods

start({required Color color, required double diameter, Element? presentationArea}) → Future<StyletInkTrail>
Requests a compositor presenter and starts forwarding trusted pen moves.