Uses of Class
playn.core.Graphics
-
Uses of Graphics in playn.core
Modifier and TypeFieldDescriptionfinal Graphics
RenderTarget.gfx
A handle on our graphics services.Modifier and TypeMethodDescriptionabstract Graphics
Platform.graphics()
Returns theGraphics
service.StubPlatform.graphics()
Modifier and TypeMethodDescriptionstatic RenderTarget
Creates a render target that renders totexture
.TextBlock.toCanvas
(Graphics gfx, TextBlock.Align align, int fillColor) Creates a canvas image large enough to accommodate this text block and renders the lines into it.ModifierConstructorDescriptionRenderTarget
(Graphics gfx) Surface
(Graphics gfx, RenderTarget target, QuadBatch defaultBatch) Creates a surface which will render totarget
usingdefaultBatch
as its default quad renderer.Texture
(Graphics gfx, int id, Texture.Config config, int pixWidth, int pixHeight, Scale scale, float dispWidth, float dispHeight) TextureSurface
(Graphics gfx, QuadBatch defaultBatch, float width, float height) Creates a texture surface which iswidth x height
in display units.TextureSurface
(Graphics gfx, QuadBatch defaultBatch, Texture texture) Creates a texture surface which renders totexture
.