org.freedesktop.cairo
Class LinearGradient
Struct
org.freedesktop.cairo.CairoObject
public class LinearGradient
LinearGradient(double x1, double y1, double x2, double y2) - Create a new cairo_pattern_t corresponding to a translucent color.
|
LinearGradient
public LinearGradient(double x1,
double y1,
double x2,
double y2)
Create a new cairo_pattern_t corresponding to a translucent color.
The color components are floating point numbers in the range 0 to
1. If the values passed in are outside that range, they will be
clamped.