Package playn.robovm
Class RoboGraphics
java.lang.Object
playn.core.Graphics
playn.robovm.RoboGraphics
Provides graphics implementation on iOS.
-
Nested Class Summary
Nested classes/interfaces inherited from class playn.core.Graphics
Graphics.Orientation, Graphics.OrientationDetail -
Field Summary
Fields inherited from class playn.core.Graphics
defaultRenderTarget, deviceOrient, gl, orientDetail, viewSize -
Constructor Summary
ConstructorsConstructorDescriptionRoboGraphics(Platform plat, RoboPlatform.Config config, org.robovm.apple.coregraphics.CGRect bounds) -
Method Summary
Modifier and TypeMethodDescriptioncreateCanvas(Scale scale, int pixelWidth, int pixelHeight) layoutText(String text, TextFormat format) layoutText(String text, TextFormat format, TextWrap wrap) Methods inherited from class playn.core.Graphics
createCanvas, createCanvas, createTexture, createTexture, scale
-
Constructor Details
-
RoboGraphics
public RoboGraphics(Platform plat, RoboPlatform.Config config, org.robovm.apple.coregraphics.CGRect bounds)
-
-
Method Details
-
screenSize
- Specified by:
screenSizein classGraphics
-
createCanvas
- Specified by:
createCanvasin classGraphics
-
createPath
- Specified by:
createPathin classGraphics
-
createGradient
- Specified by:
createGradientin classGraphics
-
layoutText
- Specified by:
layoutTextin classGraphics
-
layoutText
- Specified by:
layoutTextin classGraphics
-