| Prev Class | Next Class | Frames | No Frames |
| Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
Structorg.freedesktop.cairo.CairoObjectorg.freedesktop.cairo.Patternpublic class Patternextends org.freedesktop.cairo.CairoObjectConstructor Summary | |
| |
| |
Method Summary | |
Matrix |
|
void | |
public Pattern(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.
Create a new cairo_pattern_t corresponding to a opaque 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.
- Parameters:
red-green-blue-
public Pattern(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.
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.
- Parameters:
red-green-blue-alpha-
public Matrix getMatrix()
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.
Returns the current transform matrix of this pattern. Note that this method returns a new matrix object and you must dispose it.
- Returns:
- The transformation matrix for the pattern.
public void setMatrix(Matrix matrix)
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.
Sets the transformation matrix for this pattern.
- Parameters:
matrix- The transformation matrix.