percentY property
An unbounded double
that represents a percentage of the Rect bounds
to translate the gradient. May be positive or negative.
May exceed ± 1.0
.
If TextDirection is ltr
, positive percentX values translate
the gradient forward to the right. If it is rtl
, positive percentX
values translate the gradient forward to the left.
Implementation
final double percentX, percentY;