GradientOffsetRotation class
- Inheritance
-
- Object
- GradientTransform
- GradientOffsetRotation
Constructors
- GradientOffsetRotation(double offX, double offY, double radians)
-
const
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
transform(
Rect bounds, {TextDirection? textDirection}) → Matrix4 -
When a Gradient creates its Shader, it will call this method to
determine what transform to apply to the shader for the given Rect and
TextDirection.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
from(
double? offX, double? offY, double? radians) → GradientOffsetRotation?