| Modifier and Type | Method and Description |
|---|---|
Surface |
clear() |
Surface |
drawImage(Image img,
float x,
float y) |
Surface |
drawImage(Image img,
float x,
float y,
float w,
float h) |
Surface |
drawImage(Image img,
float dx,
float dy,
float dw,
float dh,
float sx,
float sy,
float sw,
float sh) |
Surface |
drawImageCentered(Image img,
float x,
float y) |
Surface |
drawLayer(Layer layer) |
Surface |
drawLine(float x0,
float y0,
float x1,
float y1,
float width) |
Surface |
fillRect(float x,
float y,
float w,
float h) |
Surface |
fillTriangles(float[] xys,
float[] sxys,
int[] indices) |
Surface |
fillTriangles(float[] xys,
int[] indices) |
float |
height() |
Surface |
restore() |
Surface |
rotate(float radians) |
Surface |
save() |
Surface |
scale(float x,
float y) |
Surface |
setAlpha(float alpha) |
Surface |
setFillColor(int color) |
Surface |
setFillPattern(Pattern pattern) |
Surface |
setShader(GLShader shader) |
Surface |
setStrokeColor(int color) |
Surface |
setTint(int tint) |
Surface |
setTransform(float m11,
float m12,
float m21,
float m22,
float dx,
float dy)
Deprecated.
|
Surface |
transform(float m11,
float m12,
float m21,
float m22,
float dx,
float dy) |
Surface |
translate(float x,
float y) |
float |
width() |
public Surface drawImage(Image img, float dx, float dy, float dw, float dh, float sx, float sy, float sw, float sh)
public Surface drawImageCentered(Image img, float x, float y)
drawImageCentered in interface Surfacepublic Surface fillRect(float x, float y, float w, float h)
public Surface fillTriangles(float[] xys, int[] indices)
fillTriangles in interface Surfacepublic Surface fillTriangles(float[] xys, float[] sxys, int[] indices)
fillTriangles in interface Surfacepublic Surface setFillColor(int color)
setFillColor in interface Surfacepublic Surface setStrokeColor(int color)
public Surface setFillPattern(Pattern pattern)
setFillPattern in interface Surface@Deprecated public Surface setTransform(float m11, float m12, float m21, float m22, float dx, float dy)
setTransform in interface Surfacepublic Surface transform(float m11, float m12, float m21, float m22, float dx, float dy)
Copyright © 2013. All Rights Reserved.