Package playn.robovm
Class RoboCanvasImage
java.lang.Object
playn.core.TileSource
playn.core.Image
playn.core.ImageImpl
playn.robovm.RoboImage
playn.robovm.RoboCanvasImage
- All Implemented Interfaces:
AutoCloseable,Canvas.Drawable,Closeable
-
Nested Class Summary
Nested classes/interfaces inherited from class playn.core.ImageImpl
ImageImpl.DataNested classes/interfaces inherited from class playn.core.Image
Image.BitmapTransformer, Image.RegionNested classes/interfaces inherited from interface react.Closeable
Closeable.Set, Closeable.Util -
Field Summary
-
Constructor Summary
ConstructorsConstructorDescriptionRoboCanvasImage(Graphics gfx, Scale scale, int pixelWidth, int pixelHeight, boolean interpolate) -
Method Summary
Methods inherited from class playn.robovm.RoboImage
createPattern, draw, draw, getRgb, setRgb, toString, toUIImage, transformMethods inherited from class playn.core.ImageImpl
fail, pixelHeight, pixelWidth, scale, succeedMethods inherited from class playn.core.Image
close, createTexture, height, isLoaded, region, setConfig, texture, textureAsync, tile, tileAsync, updateTexture, width
-
Constructor Details
-
RoboCanvasImage
-
-
Method Details
-
cgImage
public org.robovm.apple.coregraphics.CGImage cgImage()Description copied from class:RoboImageReturns theCGImagethat 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. Note: it's not initialized immediately for async loaded images. -
dispose
public void dispose()
-