GFill.Type
Modifier and Type | Field and Description |
---|---|
int |
cx
The height of the pattern image.
|
int |
cy
The width of the pattern image.
|
String |
imageReference
The image reference string.
|
int |
x
The X coordinate of the position of the pattern.
|
int |
y
The Y coordinate of the position of the pattern.
|
Constructor and Description |
---|
GFillPattern(int x,
int y,
int width,
int height,
String imageReference)
Creates a pattern fill from an image reference string path as "module:/image/path".
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o)
Checks if two fill objects are equal.
|
String |
getImageReference()
Gets the image reference string path.
|
GRect |
getRect()
Gets the rectangle of the image x, y, width and height.
|
GFill.Type |
getType()
Gets the fill type.
|
protected String |
paramString()
Returns the parameter string representing the state of this event.
|
public final int x
public final int y
public final int cx
public final int cy
public final String imageReference
public GFillPattern(int x, int y, int width, int height, String imageReference)
x
- The X coordinate of the position of the pattern.y
- The Y coordinate of the position of the pattern.width
- The height of the pattern image.height
- The width of the pattern image.imageReference
- The image reference.IllegalArgumentException
- For invalid x, y, width or height values.NullPointerException
- If imageReference is null.public GRect getRect()
public String getImageReference()
public GFill.Type getType()
public boolean equals(Object o)
protected String paramString()
iizi® is a registered trademark of Mindus SARL. © Copyright Mindus SARL, 2020. All rights reserved.