public final class ImagePattern extends Paint
Paint.Type
Modifier and Type | Field and Description |
---|---|
private float |
height |
private Image |
image |
private float |
width |
private float |
x |
private float |
y |
Constructor and Description |
---|
ImagePattern(Image image,
float x,
float y,
float width,
float height,
boolean proportional,
boolean isMutable) |
Modifier and Type | Method and Description |
---|---|
float |
getHeight() |
Image |
getImage() |
float |
getWidth() |
float |
getX() |
float |
getY() |
boolean |
isOpaque() |
getType, isMutable, isProportional
private final Image image
private final float x
private final float y
private final float width
private final float height
public ImagePattern(Image image, float x, float y, float width, float height, boolean proportional, boolean isMutable)