ClipContext class abstract

Clip utilities used by PaintingContext.

Implementers

Constructors

ClipContext()

Properties

canvas Canvas
The canvas on which to paint.
no setter
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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 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