Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
Struct
org.freedesktop.cairo.CairoObject
org.freedesktop.cairo.Pattern
org.freedesktop.cairo.Gradient
public class Gradient
extends Pattern
Method Summary | |
void |
|
void |
|
public void addColorStop(double offset, double red, double green, double blue)
Deprecated. Superceeded by java-gnome 4.0; this method or constant will no doubt exist conceptually, but it may have a different name or signature in order that the presented API is an algorithmic mapping of the underlying native libraries.
Adds a new color stop to the pattern.
- Parameters:
offset
- The offset lengthred
- The value to use for redgreen
- The value to use for greenblue
- The value to use for blue
public void addColorStop(double offset, double red, double green, double blue, double alpha)
Deprecated. Superceeded by java-gnome 4.0; this method or constant will no doubt exist conceptually, but it may have a different name or signature in order that the presented API is an algorithmic mapping of the underlying native libraries.
Adds a new color stop to the pattern.
- Parameters:
offset
- The offset lengthred
- The value to use for redgreen
- The value to use for greenblue
- The value to use for bluealpha
- alpha for the color