Modifier and Type | Field and Description |
---|---|
Graphics |
RenderTarget.gfx
A handle on our graphics services.
|
Modifier and Type | Method and Description |
---|---|
abstract Graphics |
Platform.graphics()
Returns the
Graphics service. |
Graphics |
StubPlatform.graphics() |
Modifier and Type | Method and Description |
---|---|
static RenderTarget |
RenderTarget.create(Graphics gfx,
Texture tex)
Creates a render target that renders to
texture . |
Canvas |
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.
|
Constructor and Description |
---|
RenderTarget(Graphics gfx) |
Surface(Graphics gfx,
RenderTarget target,
QuadBatch defaultBatch)
Creates a surface which will render to
target using defaultBatch 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 is
width x height in display units. |
TextureSurface(Graphics gfx,
QuadBatch defaultBatch,
Texture texture)
Creates a texture surface which renders to
texture . |
Copyright © 2019. All Rights Reserved.