ClipContext class Null safety

Clip utilities used by PaintingContext.

Implementers

Constructors

ClipContext()

Properties

canvas Canvas
The canvas on which to paint.
read-only
hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

clipPathAndPaint(Path path, Clip clipBehavior, Rect bounds, VoidCallback painter) → void
Clip canvas with Path according to Clip and then paint. canvas is restored to the pre-clip status afterwards. [...]
clipRectAndPaint(Rect rect, Clip clipBehavior, Rect bounds, VoidCallback painter) → void
Clip canvas with Path according to rect and then paint. canvas is restored to the pre-clip status afterwards. [...]
clipRRectAndPaint(RRect rrect, Clip clipBehavior, Rect bounds, VoidCallback painter) → void
Clip canvas with Path according to rrect and then paint. canvas is restored to the pre-clip status afterwards. [...]
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited