public class RoboImage extends RoboAbstractImage
Image based on a static bitmap.Image.BitmapTransformer, Image.Region| Modifier and Type | Field and Description |
|---|---|
protected org.robovm.apple.coregraphics.CGImage |
image |
| Constructor and Description |
|---|
RoboImage(GLContext ctx,
org.robovm.apple.coregraphics.CGImage image,
Scale scale) |
| Modifier and Type | Method and Description |
|---|---|
org.robovm.apple.coregraphics.CGImage |
cgImage()
Returns the
CGImage that underlies this image. |
float |
height() |
protected void |
updateTexture(int tex) |
float |
width() |
addCallback, draw, draw, getRgb, isReady, toPattern, toSubPattern, toUIImage, transformclearTexture, convertToRepTex, createMainTex, createPow2RepTex, ensureTexture, finalize, refreshTexture, scalereference, release, repeatX, repeatY, setMipmapped, setRepeat, subImageclone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclearTexture, ensureTexture, repeatX, repeatY, scale, setMipmapped, setRepeat, subImagepublic org.robovm.apple.coregraphics.CGImage cgImage()
RoboAbstractImageCGImage that underlies this image. This is public so that games that need
to write custom backend code to do special stuff can access it. No promises are made, caveat
coder.cgImage in class RoboAbstractImagepublic float width()
public float height()
protected void updateTexture(int tex)
updateTexture in class ImageGL<org.robovm.apple.coregraphics.CGBitmapContext>Copyright © 2014. All Rights Reserved.