Package heronarts.glx.ui.vg
Class VGraphics.Image
java.lang.Object
heronarts.glx.ui.vg.VGraphics.Image
- Enclosing class:
VGraphics
-
Field Summary
Fields -
Method Summary
-
Field Details
-
id
public final int id -
width
public final int width -
height
public final int height -
paint
-
-
Method Details
-
update
public void update(int[] argb) Updates the data in an image created from an ARGB data buffer. Can not be called on Images that were created by loading a file.- Parameters:
argb
- ARGB data array, must have length image.width x image.height
-
noTint
public void noTint() -
setTint
-
setTint
public void setTint(int argb) -
setTint
public void setTint(float r, float g, float b, float a) -
dispose
public void dispose()
-