PainterUtils class abstract

Contains utility functions for creating and manipulating Paint objects.

Constructors

PainterUtils()
Factory constructor to ensure exception. Throws an exception if an attempt is made to instantiate this class.
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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

Static Properties

alphaPaint Paint
A paint object with an alpha blend mode.
getter/setter pair
emptyPaint Paint
An empty paint object.
getter/setter pair

Static Methods

getAlphaPaint(double alpha) Paint
Returns a paint object with the specified alpha value.
getColorize(Color color) ColorFilter
Returns a color filter that applies a color tint to an image.