|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectorg.gnu.glib.Struct
org.freedesktop.cairo.Pattern
public class Pattern
TODO: error handling
| 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. |
| Methods inherited from class org.gnu.glib.Struct |
|---|
equals, getHandle, getNullHandle, hashCode |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Pattern(double red,
double green,
double blue)
red - green - blue -
public Pattern(double red,
double green,
double blue,
double alpha)
red - green - blue - alpha - | Method Detail |
|---|
public void setMatrix(Matrix matrix)
matrix - The transformation matrix.public Matrix getMatrix()
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||