org.freedesktop.cairo
public class Pattern extends CairoObject
Constructor Summary | |
---|---|
Pattern(double red, double green, double blue)
Create a new cairo_pattern_t corresponding to a opaque color. | |
Pattern(double red, double green, double blue, double alpha)
Create a new cairo_pattern_t corresponding to a translucent color. |
Method Summary | |
---|---|
Matrix | getMatrix()
Returns the current transform matrix of this pattern. |
void | setMatrix(Matrix matrix)
Sets the transformation matrix for this pattern.
|
Parameters: red green blue
Parameters: red green blue alpha
Returns: The transformation matrix for the pattern.
Parameters: matrix The transformation matrix.