
Fills a shape using a two color linear gradient.
Slots
-
const internal Color c1
-
const internal Color c2
- equals
-
Equality is based on fields.
- hash
-
override Int hash()
Hash the fields.
-
new make()
- makeLinear
-
static Gradient makeLinear(Point p1, Color c1, Point p2, Color c2)
Construct a two color linear gradient between the two points.
-
const internal Point p1
-
const internal Point p2
- toStr
-
override Str toStr()
Return
"[point1:color1; point2:color2]"
. This string format is subject to change.