Skip navigation links
A B C D E F G H I J K L M N O P Q R S T U V W X Y 

A

activate() - Method in class playn.core.GLProgram
Binds this shader program, in preparation for rendering.
add(Object) - Method in interface playn.core.Json.Array
Appends a JSON boolean, null, number, object, or array value.
add(int, Object) - Method in interface playn.core.Json.Array
Inserts a JSON boolean, null, number, object, or array value at the given index.
addHeader(String, String) - Method in class playn.core.Net.Builder
Adds the supplied request header.
addQuad(Texture, int, AffineTransform, float, float, float, float) - Method in class playn.core.QuadBatch
Adds tex as a transformed axis-aligned quad to this batch.
addQuad(Texture, int, AffineTransform, float, float, float, float, float, float, float, float) - Method in class playn.core.QuadBatch
Adds tex as a transformed axis-aligned quad to this batch.
addQuad(int, AffineTransform, float, float, float, float, float, float, float, float) - Method in class playn.core.QuadBatch
Adds a transformed axis-aligned quad to this batch.
addQuad(int, float, float, float, float, float, float, float, float, float, float, float, float, float, float) - Method in class playn.core.QuadBatch
Adds a transformed axis-aligned quad to this batch.
addQuad(int, float, float, float, float, float, float, float, float, float, float, float, float, float, float, float, float, float, float, float, float, float, float) - Method in class playn.core.QuadBatch
Adds a transformed axis-aligned quad to this batch.
addQuad(int, float, float, float, float, float, float, float, float, float, float, float, float, float, float, float, float, float, float, float, float, float, float) - Method in class playn.core.TriangleBatch
 
addQuad(int, float, float, float, float, float, float, float, float, float, float, float, float, float, float, float, float, float, float, float, float, float, float) - Method in class playn.core.UniformQuadBatch
 
addToBatch(QuadBatch, int, AffineTransform, float, float, float, float) - Method in class playn.core.Texture
 
addToBatch(QuadBatch, int, AffineTransform, float, float, float, float, float, float, float, float) - Method in class playn.core.Texture
 
addToBatch(QuadBatch, int, AffineTransform, float, float, float, float) - Method in class playn.core.Tile
Adds this tile to the supplied quad batch.
addToBatch(QuadBatch, int, AffineTransform, float, float, float, float, float, float, float, float) - Method in class playn.core.Tile
Adds this tile to the supplied quad batch.
addTris(Texture, int, AffineTransform, float[], int, int, float, float, int[], int, int, int) - Method in class playn.core.TriangleBatch
Adds a collection of textured triangles to the current render operation.
addTris(Texture, int, AffineTransform, float[], float[], int, int, int[], int, int, int) - Method in class playn.core.TriangleBatch
Adds a collection of textured triangles to the current render operation.
addTris(float[], int, int, float, float, int[], int, int, int) - Method in class playn.core.TriangleBatch
Adds triangle primitives to a prepared batch.
addTris(float[], float[], int, int, int[], int, int, int) - Method in class playn.core.TriangleBatch
Adds triangle primitives to a prepared batch.
alpha - Variable in class playn.core.Clock
If this clock is used by a game with separate simulation and paint schedules, this value represents the fraction of time between the last simulation update and the next scheduled update.
alpha(int) - Static method in class playn.core.Color
Extracts the alpha, in range [0, 255], from the given packed color.
alpha() - Method in class playn.core.Surface
Returns the currently configured alpha.
antialias - Variable in class playn.core.TextFormat
Whether or not the text should be antialiased.
argb(int, int, int, int) - Static method in class playn.core.Color
Creates a packed integer color from four ARGB values in the range [0, 255].
ascent() - Method in class playn.core.TextLayout
The number of pixels from the top of a line of text to the baseline.
Assets - Class in playn.core
Fetches and returns assets.
assets() - Method in class playn.core.Platform
Returns the Assets service.
assets() - Method in class playn.core.StubPlatform
 
Audio - Class in playn.core
Provides audio services, of which there are presently none.
Audio() - Constructor for class playn.core.Audio
 
audio() - Method in class playn.core.Platform
Returns the Audio service.
audio() - Method in class playn.core.StubPlatform
 

B

BatchImpl - Class in playn.core
 
BatchImpl(Storage) - Constructor for class playn.core.BatchImpl
 
begin(float, float, boolean) - Method in class playn.core.GLBatch
Must be called before this batch is used to accumulate and send drawing commands.
begin() - Method in class playn.core.Surface
Starts a series of drawing commands to this surface.
begin(float, float, boolean) - Method in class playn.core.TriangleBatch
 
begin(float, float, boolean) - Method in class playn.core.UniformQuadBatch
 
bezierTo(float, float, float, float, float, float) - Method in interface playn.core.Path
Adds a bezier curve to the path, from the current position to the specified target, using the supplied control points.
Binary(int, byte[], String) - Constructor for class playn.core.Net.Response.Binary
 
bind() - Method in class playn.core.RenderTarget
Binds the framebuffer.
bitmap - Variable in class playn.core.ImageImpl.Data
 
blue(int) - Static method in class playn.core.Color
Extracts the blue component, in range [0, 255], from the given packed color.
bounds - Variable in class playn.core.TextBlock
The bounds of this block of text.
bounds - Variable in class playn.core.TextLayout
Returns the precise bounds of the text rendered by this layout.
Buffers() - Constructor for class playn.core.GL20.Buffers
 
bufs - Variable in class playn.core.GL20
 
button - Variable in class playn.core.Mouse.ButtonEvent
The id of the button associated with this event.
ButtonEvent(int, double, float, float, Mouse.ButtonEvent.Id, boolean) - Constructor for class playn.core.Mouse.ButtonEvent
 
ButtonSlot() - Constructor for class playn.core.Mouse.ButtonSlot
 
byteBuffer - Variable in class playn.core.GL20.Buffers
 

C

Canvas - Class in playn.core
A 2D drawing canvas.
Canvas.Composite - Enum in playn.core
Values that may be used with Canvas.setCompositeOperation(Composite).
Canvas.Drawable - Interface in playn.core
Facilitates drawing images and image regions to a canvas.
Canvas.LineCap - Enum in playn.core
Values that may be used with Canvas.setLineCap(LineCap).
Canvas.LineJoin - Enum in playn.core
Values that may be used with Canvas.setLineJoin(LineJoin).
cause - Variable in class playn.core.Platform.Error
 
checkError(String) - Method in class playn.core.GL20
Checks for any GL error codes and logs them (if GL20.checkErrors is true).
checkErrors - Variable in class playn.core.GL20
 
clear() - Method in class playn.core.Canvas
Clears the entire canvas to rgba(0, 0, 0, 0).
clear() - Method in class playn.core.Surface
Clears the entire surface to transparent blackness.
clear(float, float, float, float) - Method in class playn.core.Surface
Clears the entire surface to the specified color.
clearFlag(int) - Method in class playn.core.Event.Input
Clears the flag bit.
clearRect(float, float, float, float) - Method in class playn.core.Canvas
Clears the specified region to rgba (0, 0, 0, 0).
clip(Path) - Method in class playn.core.Canvas
Intersects the current clip with the specified path.
clipRect(float, float, float, float) - Method in class playn.core.Canvas
Intersects the current clip with the supplied rectangle.
Clock - Class in playn.core
Encapsulates an absolute and delta time.
Clock() - Constructor for class playn.core.Clock
 
close() - Method in class playn.core.Canvas
Informs the platform that this canvas, and its backing image will no longer be used.
close() - Method in class playn.core.GLBatch
Releases any GPU resources retained by this batch.
close() - Method in class playn.core.GLProgram
Frees this program and associated compiled shaders.
close() - Method in interface playn.core.Net.WebSocket
Requests that this web socket be closed.
close() - Method in interface playn.core.Path
Closes the path, returning the position to the beginning of the first stroke.
close() - Method in class playn.core.RenderTarget
Deletes the framebuffer associated with this render target.
close() - Method in class playn.core.Surface
 
close() - Method in class playn.core.Texture
Deletes this texture's GPU resources and renders it unusable.
close() - Method in class playn.core.TextureSurface
 
close() - Method in class playn.core.TriangleBatch
 
close() - Method in class playn.core.UniformQuadBatch
 
Color - Class in playn.core
Utility methods for working with packed-integer colors.
Color() - Constructor for class playn.core.Color
 
colors - Variable in class playn.core.Gradient.Config
 
combine(int, int) - Static method in class playn.core.Tint
Returns the combination of curTint and tint.
combineTint(int) - Method in class playn.core.Surface
Combines tint with the current tint via Tint.combine(int, int).
commit() - Method in class playn.core.BatchImpl
 
commit() - Method in interface playn.core.Storage.Batch
Commits the batch, applying all queued changes.
concatenate(AffineTransform, float, float) - Method in class playn.core.Surface
Concatenates xf onto this surface's transform, accounting for the origin.
config - Variable in class playn.core.Texture
This texture's configuration.
Config(boolean, boolean, boolean, int, int, boolean) - Constructor for class playn.core.Texture.Config
 
containsKey(String) - Method in interface playn.core.Json.Object
Returns true if this object contains a value at the specified key, false if not.
contentType - Variable in class playn.core.Net.Builder
 
contentType() - Method in class playn.core.Net.Builder
 
create(Boolean...) - Static method in class playn.core.Json.TypedArray.Util
Creates a typed array using data as its backing data.
create(Integer...) - Static method in class playn.core.Json.TypedArray.Util
Creates a typed array using data as its backing data.
create(Float...) - Static method in class playn.core.Json.TypedArray.Util
Creates a typed array using data as its backing data.
create(Double...) - Static method in class playn.core.Json.TypedArray.Util
Creates a typed array using data as its backing data.
create(String...) - Static method in class playn.core.Json.TypedArray.Util
Creates a typed array using data as its backing data.
create(Json.Object...) - Static method in class playn.core.Json.TypedArray.Util
Creates a typed array using data as its backing data.
create(Json.Array...) - Static method in class playn.core.Json.TypedArray.Util
Creates a typed array using data as its backing data.
create(Graphics, Texture) - Static method in class playn.core.RenderTarget
Creates a render target that renders to texture.
createArray() - Method in interface playn.core.Json
Creates an new, empty Json.Array.
createByteBuffer(int) - Method in class playn.core.GL20.Buffers
 
createCanvas(float, float) - Method in class playn.core.Graphics
Creates a Canvas with the specified display unit size.
createCanvas(IDimension) - Method in class playn.core.Graphics
createFloatBuffer(int) - Method in class playn.core.GL20.Buffers
 
createGradient(Gradient.Config) - Method in class playn.core.Canvas
Creates a gradient fill pattern.
createIntBuffer(int) - Method in class playn.core.GL20.Buffers
 
createObject() - Method in interface playn.core.Json
Creates an new, empty Object.
createPath() - Method in class playn.core.Canvas
Creates a path object.
createPattern(boolean, boolean) - Method in class playn.core.Image
Creates a pattern from this image which can be used to fill a canvas.
createShortBuffer(int) - Method in class playn.core.GL20.Buffers
 
createTexture(float, float, Texture.Config) - Method in class playn.core.Graphics
Creates an empty texture into which one can render.
createTexture(IDimension, Texture.Config) - Method in class playn.core.Graphics
createTexture(Texture.Config) - Method in class playn.core.Image
Creates a texture with this image's bitmap data using config.
createWebSocket(String, Net.WebSocket.Listener) - Method in class playn.core.Net
Create a websocket with given URL and listener.

D

Data(Scale, Object, int, int) - Constructor for class playn.core.ImageImpl.Data
 
debug(String) - Method in class playn.core.Log
Logs msg at the debug level.
debug(String, Object...) - Method in class playn.core.Log
Logs msg at the debug level.
debug(String, Throwable) - Method in class playn.core.Log
Logs msg and e at the debug level.
decodeLower(float) - Static method in class playn.core.Color
Decodes and returns the lower color value in a two color value encoded by Color.encode(float, float).
decodeUpper(float) - Static method in class playn.core.Color
Decodes and returns the upper color value in a two color value encoded by Color.encode(float, float).
Default(Platform) - Constructor for class playn.core.Exec.Default
 
DEFAULT - Static variable in class playn.core.Texture.Config
Default managed texture configuration: managed, no mipmaps, no repat, linear filters.
defaultRenderTarget - Variable in class playn.core.Graphics
The render target for the default framebuffer.
deferredPromise() - Method in class playn.core.Exec
Creates a promise which defers notification of success or failure to the game thread, regardless of what thread on which it is completed.
derive(float) - Method in class playn.core.Font
Derives a font with the same name and style as this one, at the specified size.
descent() - Method in class playn.core.TextLayout
The number of pixels from the baseline to the bottom of a line of text.
dispatchEvent(Signal<E>, E) - Method in class playn.core.Platform
Dispatches event on signal and catches any error that propagates out of the event dispatch, reporting it via Platform.reportError(java.lang.String, java.lang.Throwable).
displayHeight - Variable in class playn.core.Texture
The height of this texture in display units.
displayWidth - Variable in class playn.core.Texture
The width of this texture in display units.
disposed() - Method in class playn.core.Texture
Returns whether this texture is been disposed.
disposeSlot() - Method in class playn.core.Texture
Returns a Slot that will dispose this texture when triggered.
down - Variable in class playn.core.Keyboard.KeyEvent
Whether the key is down or up.
down - Variable in class playn.core.Mouse.ButtonEvent
True if the button was just pressed, false if it was just released.
draw(Canvas.Drawable, float, float) - Method in class playn.core.Canvas
Draws image at the specified location (x, y).
draw(Canvas.Drawable, float, float, float, float) - Method in class playn.core.Canvas
Draws a scaled image at the specified location (x, y) size (w x h).
draw(Canvas.Drawable, float, float, float, float, float, float, float, float) - Method in class playn.core.Canvas
Draws a subregion of a image (sw x sh) @ (sx, sy) at the specified size (dw x dh) and location (dx, dy).
draw(Object, float, float, float, float) - Method in interface playn.core.Canvas.Drawable
 
draw(Object, float, float, float, float, float, float, float, float) - Method in interface playn.core.Canvas.Drawable
 
draw(Tile, float, float) - Method in class playn.core.Surface
Draws a tile at the specified location: x, y.
draw(Tile, float, float, float, float) - Method in class playn.core.Surface
Draws a tile at the specified location (x, y) and size (w x h).
draw(Tile, int, float, float, float, float) - Method in class playn.core.Surface
Draws a tile at the specified location (x, y) and size (w x h), with tint tint.
draw(Tile, float, float, float, float, float, float, float, float) - Method in class playn.core.Surface
Draws a scaled subset of an image (defined by (sx, sy) and (w x h)) at the specified location (dx, dy) and size (dw x dh).
draw(Tile, int, float, float, float, float, float, float, float, float) - Method in class playn.core.Surface
Draws a scaled subset of an image (defined by (sx, sy) and (w x h)) at the specified location (dx, dy) and size (dw x dh), with tint tint.
drawCentered(Canvas.Drawable, float, float) - Method in class playn.core.Canvas
Draws image centered at the specified location.
drawCentered(Tile, float, float) - Method in class playn.core.Surface
Draws a texture tile, centered at the specified location.
drawLine(float, float, float, float) - Method in class playn.core.Canvas
Draws a line between the two specified points.
drawLine(XY, XY, float) - Method in class playn.core.Surface
Fills a line between the specified coordinates, of the specified display unit width.
drawLine(float, float, float, float, float) - Method in class playn.core.Surface
Fills a line between the specified coordinates, of the specified display unit width.
drawPoint(float, float) - Method in class playn.core.Canvas
Draws a single point at the specified location.
drawText(String, float, float) - Method in class playn.core.Canvas
Draws text at the specified location.
dt - Variable in class playn.core.Clock
The number of milliseconds that have elapsed since the last signal.
dx - Variable in class playn.core.Mouse.MotionEvent
The amount by which the mouse moved on the x axis.
dy - Variable in class playn.core.Mouse.MotionEvent
The amount by which the mouse moved on the y axis.

E

enabled - Variable in class playn.core.Pointer
Allows pointer interaction to be temporarily disabled.
encode(float, float) - Static method in class playn.core.Color
Encodes two [0..1] color values into the format used by the standard shader program.
end() - Method in class playn.core.GLBatch
Must be called when one is done using this batch to accumulate and send drawing commands.
end() - Method in class playn.core.Surface
Completes a series of drawing commands to this surface.
end() - Method in class playn.core.TexturedBatch
 
end() - Method in class playn.core.TriangleBatch
 
end() - Method in class playn.core.UniformQuadBatch
 
endClipped() - Method in class playn.core.Surface
Ends a series of drawing commands that were clipped per a call to Surface.startClipped(int, int, int, int).
equals(Object) - Method in class playn.core.Font
 
equals(Object) - Method in class playn.core.TextFormat
 
equals(Object) - Method in class playn.core.TextWrap
 
error(String) - Method in class playn.core.Log
Logs msg at the error level.
error(String, Object...) - Method in class playn.core.Log
Logs msg at the error level.
error(String, Throwable) - Method in class playn.core.Log
Logs msg and e at the error level.
Error(String, Throwable) - Constructor for class playn.core.Platform.Error
 
Error(Exception) - Constructor for class playn.core.Sound.Error
 
errorCode - Variable in exception playn.core.Net.HttpException
The HTTP error code reported by the server.
errors - Variable in class playn.core.Platform
Any errors reported via Platform.reportError(java.lang.String, java.lang.Throwable) will be emitted to this signal in addition to being logged.
Event - Class in playn.core
Defines an event abstraction used in various places in PlayN.
Event() - Constructor for class playn.core.Event
 
Event(int, double, float, float, Pointer.Event.Kind, boolean) - Constructor for class playn.core.Pointer.Event
 
Event(int, double, float, float, Touch.Event.Kind, int) - Constructor for class playn.core.Touch.Event
 
Event(int, double, float, float, Touch.Event.Kind, int, float, float) - Constructor for class playn.core.Touch.Event
 
Event.Input - Class in playn.core
The base for all input events.
Event.XY - Class in playn.core
The base for all input events with a screen position.
events - Variable in class playn.core.Pointer
A signal which emits pointer events.
Exec - Class in playn.core
Handles execution of units of code, both on background threads (Exec.invokeAsync(java.lang.Runnable)) and on the main PlayN game thread (Exec.invokeLater(java.lang.Runnable)).
Exec() - Constructor for class playn.core.Exec
 
exec() - Method in class playn.core.Platform
Returns the Exec service.
exec() - Method in class playn.core.StubPlatform
 
Exec.Default - Class in playn.core
A default exec implementation which processes Exec.Default.invokeLater(java.lang.Runnable) via the frame tick.
execute() - Method in class playn.core.Net.Builder
Executes this request, delivering the response via callback.

F

F_PREVENT_DEFAULT - Static variable in class playn.core.Event
A flag indicating that the default OS behavior for an event should be prevented.
factor - Variable in class playn.core.Scale
The scale factor for HiDPI mode, or 1 if HDPI mode is not enabled.
fail(Throwable) - Method in class playn.core.ImageImpl
Notifies this image that its implementation bitmap failed to load.
fail(Throwable) - Method in class playn.core.SoundImpl
Configures this sound with an error in lieu of its platform implementation.
fill(Canvas, TextBlock.Align, float, float) - Method in class playn.core.TextBlock
Fills lines into canvas at the specified coordinates, using the specified alignment.
fillCircle(float, float, float) - Method in class playn.core.Canvas
Fills a circle at the specified center and radius.
fillPath(Path) - Method in class playn.core.Canvas
Fills the specified path.
fillRect(float, float, float, float) - Method in class playn.core.Canvas
Fills the specified rectangle.
fillRect(float, float, float, float) - Method in class playn.core.Surface
Fills the specified rectangle.
fillRoundRect(float, float, float, float, float) - Method in class playn.core.Canvas
Fills the specified rounded rectangle.
fillText(TextLayout, float, float) - Method in class playn.core.Canvas
Fills the text at the specified location.
flags - Variable in class playn.core.Event.Input
The flags set for this event.
flip() - Method in class playn.core.RenderTarget
Whether or not to flip the y-axis when rendering to this target.
floatBuffer - Variable in class playn.core.GL20.Buffers
 
flush() - Method in class playn.core.GLBatch
Sends any accumulated drawing calls to the GPU.
flush() - Method in class playn.core.TriangleBatch
 
flush() - Method in class playn.core.UniformQuadBatch
 
Font - Class in playn.core
Contains metadata for a font.
Font(String, Font.Style, float) - Constructor for class playn.core.Font
Creates a font as specified.
Font(String, float) - Constructor for class playn.core.Font
Creates a font as specified with Font.Style.PLAIN..
font - Variable in class playn.core.TextFormat
The font in which to render the text (null indicates that the default font is used).
Font.Style - Enum in playn.core
The styles that may be requested for a given font.
format(StringBuilder, Object...) - Static method in class playn.core.Log
Formats the supplied key/value arguments into the supplied string builder as key=value, key=value, ....
format - Variable in class playn.core.TextLayout
The TextFormat used to lay out this text.
fragment() - Method in class playn.core.TexturedBatch.Source
Returns the source of the texture fragment shader program.
frame - Variable in class playn.core.Platform
This signal will be emitted at the start of every frame after the platform is started.

G

Game - Class in playn.core
Defines a simple game API.
Game(Platform, int) - Constructor for class playn.core.Game
Creates a clocked game with the desired simulation update rate, in ms.
get(int) - Method in interface playn.core.Json.TypedArray
Returns the value at the given index, or the default value for T if there's a value of a different type at the index.
get(int, T) - Method in interface playn.core.Json.TypedArray
Returns the value at the given index, or the specified default value if there's a value of a different type at the index.
get(String) - Method in class playn.core.Net
Performs an HTTP GET request to the specified URL.
getAlpha(int) - Static method in class playn.core.Tint
Returns the alpha component of tint as a float between [0, 1].
getArray(int) - Method in interface playn.core.Json.Array
Gets the array value at the given index, or null if there is no value at this index.
getArray(int, Json.Array) - Method in interface playn.core.Json.Array
Gets the array value at the given index, or the default if there is no value at this index.
getArray(int, Class<T>) - Method in interface playn.core.Json.Array
Gets an array at the given index that assumes its values are of the given json type, or null if there is no value at this index.
getArray(String) - Method in interface playn.core.Json.Object
Gets the array value at the given key, or null if there is no value at this key.
getArray(String, Json.Array) - Method in interface playn.core.Json.Object
Gets the array value at the given key, or the default if there is no value at this key.
getArray(String, Class<T>) - Method in interface playn.core.Json.Object
Gets an array at the given key that assumes its values are of the given json type, or null if there is no value at this key.
getArray(String, Class<T>, Json.TypedArray<T>) - Method in interface playn.core.Json.Object
Gets an array at the given key that assumes its values are of the given json type, or the default if there is no value at this key.
getAttribLocation(String) - Method in class playn.core.GLProgram
Returns the attribute location with the specified name.
getBoolean(int) - Method in interface playn.core.Json.Array
Gets the boolean value at the given index, or false if there is no value at this index.
getBoolean(int, boolean) - Method in interface playn.core.Json.Array
Gets the boolean value at the given index, or the default if there is no value at this index.
getBoolean(String) - Method in interface playn.core.Json.Object
Gets the boolean value at the given key, or false if there is no value at this key.
getBoolean(String, boolean) - Method in interface playn.core.Json.Object
Gets the boolean value at the given key, or the default if there is no value at this key.
getBounds(TextLayout[], Rectangle) - Static method in class playn.core.TextBlock
Computes the bounds of a block of text.
getBytes(String) - Method in class playn.core.Assets
Loads binary data asynchronously.
getBytesSync(String) - Method in class playn.core.Assets
Loads and returns the raw bytes of the asset - useful for custom binary formatted files.
getDouble(int) - Method in interface playn.core.Json.Array
Gets the double value at the given index, or 0 if there is no value at this index.
getDouble(int, double) - Method in interface playn.core.Json.Array
Gets the double value at the given index, or the default if there is no value at this index.
getDouble(String) - Method in interface playn.core.Json.Object
Gets the double value at the given key, or 0 if there is no value at this key.
getDouble(String, double) - Method in interface playn.core.Json.Object
Gets the double value at the given key, or the default if there is no value at this key.
getImage(String) - Method in class playn.core.Assets
Asynchronously loads and returns an image.
getImageSync(String) - Method in class playn.core.Assets
Synchronously loads and returns an image.
getInt(int) - Method in interface playn.core.Json.Array
Gets the integer value at the given index, or 0 if there is no value at this index.
getInt(int, int) - Method in interface playn.core.Json.Array
Gets the integer value at the given index, or the default if there is no value at this index.
getInt(String) - Method in interface playn.core.Json.Object
Gets the integer value at the given key, or 0 if there is no value at this key.
getInt(String, int) - Method in interface playn.core.Json.Object
Gets the integer value at the given key, or the default if there is no value at this key.
getItem(String) - Method in interface playn.core.Storage
Returns the item associated with key, or null if no item is associated with it.
getLong(int) - Method in interface playn.core.Json.Array
Gets the long value at the given index, or 0 if there is no value at this index.
getLong(int, long) - Method in interface playn.core.Json.Array
Gets the long value at the given index, or the default if there is no value at this index.
getLong(String) - Method in interface playn.core.Json.Object
Gets the long value at the given key, or 0 if there is no value at this key.
getLong(String, long) - Method in interface playn.core.Json.Object
Gets the long value at the given key, or the default if there is no value at this key.
getMusic(String) - Method in class playn.core.Assets
Asynchronously loads and returns a music resource.
getNumber(int) - Method in interface playn.core.Json.Array
Gets the float value at the given index, or 0 if there is no value at this index.
getNumber(int, float) - Method in interface playn.core.Json.Array
Gets the float value at the given index, or the default if there is no value at this index.
getNumber(String) - Method in interface playn.core.Json.Object
Gets the float value at the given key, or 0 if there is no value at this key.
getNumber(String, float) - Method in interface playn.core.Json.Object
Gets the float value at the given key, or the default if there is no value at this key.
getObject(int) - Method in interface playn.core.Json.Array
Gets the object value at the given index, or null if there is no value at this index.
getObject(int, Json.Object) - Method in interface playn.core.Json.Array
Gets the object value at the given index, or the default if there is no value at this index.
getObject(String) - Method in interface playn.core.Json.Object
Gets the object value at the given key, or null if there is no value at this key.
getObject(String, Json.Object) - Method in interface playn.core.Json.Object
Gets the object value at the given key, or the default if there is no value at this key.
getPlatformGLExtensions() - Method in class playn.core.GL20
 
getRemoteImage(String) - Method in class playn.core.Assets
Asynchronously loads and returns the image at the specified URL.
getRemoteImage(String, int, int) - Method in class playn.core.Assets
Asynchronously loads and returns the image at the specified URL.
getRgb(int, int, int, int, int[], int, int) - Method in class playn.core.Image
Extracts pixel data from a rectangular area of this image.
getScaledResources(String) - Method in class playn.core.Scale
Returns an ordered series of scaled resources to try when loading an asset.
getSound(String) - Method in class playn.core.Assets
Asynchronously loads and returns a short sound effect.
getString(int) - Method in interface playn.core.Json.Array
Gets the string value at the given index, or null if there is no value at this index.
getString(int, String) - Method in interface playn.core.Json.Array
Gets the string value at the given index, or the default if there is no value at this index.
getString(String) - Method in interface playn.core.Json.Object
Gets the string value at the given key, or null if there is no value at this key.
getString(String, String) - Method in interface playn.core.Json.Object
Gets the string value at the given key, or the default if there is no value at this key.
getSwapInterval() - Method in class playn.core.GL20
 
getText(String) - Method in class playn.core.Assets
Loads UTF-8 encoded text asynchronously.
getText(Keyboard.TextType, String, String) - Method in class playn.core.Input
Requests a line of text from the user.
getTextSync(String) - Method in class playn.core.Assets
Loads and returns a UTF-8 encoded text asset.
getUniformLocation(String) - Method in class playn.core.GLProgram
Returns the uniform location with the specified name.
getX(float, float) - Method in enum playn.core.TextBlock.Align
Returns the x offset for a line of text with width lineWidth rendered as part of a block of width blockWidth.
gfx - Variable in class playn.core.RenderTarget
A handle on our graphics services.
gl - Variable in class playn.core.Graphics
Provides access to GL services.
gl - Variable in class playn.core.TexturedBatch
 
GL20 - Class in playn.core
Interface and values for OpenGL ES 2.0, based on the official JOGL GL2ES2 interface.
GL20.Buffers - Class in playn.core
A helper class for bridging between Java arrays and buffers when implementing GL20.
GL_ACTIVE_ATTRIBUTE_MAX_LENGTH - Static variable in class playn.core.GL20
 
GL_ACTIVE_ATTRIBUTES - Static variable in class playn.core.GL20
 
GL_ACTIVE_TEXTURE - Static variable in class playn.core.GL20
 
GL_ACTIVE_UNIFORM_MAX_LENGTH - Static variable in class playn.core.GL20
 
GL_ACTIVE_UNIFORMS - Static variable in class playn.core.GL20
 
GL_ALIASED_LINE_WIDTH_RANGE - Static variable in class playn.core.GL20
 
GL_ALIASED_POINT_SIZE_RANGE - Static variable in class playn.core.GL20
 
GL_ALPHA - Static variable in class playn.core.GL20
 
GL_ALPHA_BITS - Static variable in class playn.core.GL20
 
GL_ALWAYS - Static variable in class playn.core.GL20
 
GL_ARRAY_BUFFER - Static variable in class playn.core.GL20
 
GL_ARRAY_BUFFER_BINDING - Static variable in class playn.core.GL20
 
GL_ATTACHED_SHADERS - Static variable in class playn.core.GL20
 
GL_BACK - Static variable in class playn.core.GL20
 
GL_BGRA - Static variable in class playn.core.GL20
 
GL_BLEND - Static variable in class playn.core.GL20
 
GL_BLEND_COLOR - Static variable in class playn.core.GL20
 
GL_BLEND_DST_ALPHA - Static variable in class playn.core.GL20
 
GL_BLEND_DST_RGB - Static variable in class playn.core.GL20
 
GL_BLEND_EQUATION - Static variable in class playn.core.GL20
 
GL_BLEND_EQUATION_ALPHA - Static variable in class playn.core.GL20
 
GL_BLEND_EQUATION_RGB - Static variable in class playn.core.GL20
 
GL_BLEND_SRC_ALPHA - Static variable in class playn.core.GL20
 
GL_BLEND_SRC_RGB - Static variable in class playn.core.GL20
 
GL_BLUE_BITS - Static variable in class playn.core.GL20
 
GL_BOOL - Static variable in class playn.core.GL20
 
GL_BOOL_VEC2 - Static variable in class playn.core.GL20
 
GL_BOOL_VEC3 - Static variable in class playn.core.GL20
 
GL_BOOL_VEC4 - Static variable in class playn.core.GL20
 
GL_BUFFER_SIZE - Static variable in class playn.core.GL20
 
GL_BUFFER_USAGE - Static variable in class playn.core.GL20
 
GL_BYTE - Static variable in class playn.core.GL20
 
GL_CCW - Static variable in class playn.core.GL20
 
GL_CLAMP_TO_EDGE - Static variable in class playn.core.GL20
 
GL_COLOR_ATTACHMENT0 - Static variable in class playn.core.GL20
 
GL_COLOR_BUFFER_BIT - Static variable in class playn.core.GL20
 
GL_COLOR_CLEAR_VALUE - Static variable in class playn.core.GL20
 
GL_COLOR_WRITEMASK - Static variable in class playn.core.GL20
 
GL_COMPILE_STATUS - Static variable in class playn.core.GL20
 
GL_COMPRESSED_TEXTURE_FORMATS - Static variable in class playn.core.GL20
 
GL_CONSTANT_ALPHA - Static variable in class playn.core.GL20
 
GL_CONSTANT_COLOR - Static variable in class playn.core.GL20
 
GL_CULL_FACE - Static variable in class playn.core.GL20
 
GL_CULL_FACE_MODE - Static variable in class playn.core.GL20
 
GL_CURRENT_PROGRAM - Static variable in class playn.core.GL20
 
GL_CURRENT_VERTEX_ATTRIB - Static variable in class playn.core.GL20
 
GL_CW - Static variable in class playn.core.GL20
 
GL_DECR - Static variable in class playn.core.GL20
 
GL_DECR_WRAP - Static variable in class playn.core.GL20
 
GL_DELETE_STATUS - Static variable in class playn.core.GL20
 
GL_DEPTH_ATTACHMENT - Static variable in class playn.core.GL20
 
GL_DEPTH_BITS - Static variable in class playn.core.GL20
 
GL_DEPTH_BUFFER_BIT - Static variable in class playn.core.GL20
 
GL_DEPTH_CLEAR_VALUE - Static variable in class playn.core.GL20
 
GL_DEPTH_COMPONENT - Static variable in class playn.core.GL20
 
GL_DEPTH_COMPONENT16 - Static variable in class playn.core.GL20
 
GL_DEPTH_FUNC - Static variable in class playn.core.GL20
 
GL_DEPTH_RANGE - Static variable in class playn.core.GL20
 
GL_DEPTH_TEST - Static variable in class playn.core.GL20
 
GL_DEPTH_WRITEMASK - Static variable in class playn.core.GL20
 
GL_DITHER - Static variable in class playn.core.GL20
 
GL_DONT_CARE - Static variable in class playn.core.GL20
 
GL_DST_ALPHA - Static variable in class playn.core.GL20
 
GL_DST_COLOR - Static variable in class playn.core.GL20
 
GL_DYNAMIC_DRAW - Static variable in class playn.core.GL20
 
GL_ELEMENT_ARRAY_BUFFER - Static variable in class playn.core.GL20
 
GL_ELEMENT_ARRAY_BUFFER_BINDING - Static variable in class playn.core.GL20
 
GL_EQUAL - Static variable in class playn.core.GL20
 
GL_EXTENSIONS - Static variable in class playn.core.GL20
 
GL_FALSE - Static variable in class playn.core.GL20
 
GL_FASTEST - Static variable in class playn.core.GL20
 
GL_FIXED - Static variable in class playn.core.GL20
 
GL_FLOAT - Static variable in class playn.core.GL20
 
GL_FLOAT_MAT2 - Static variable in class playn.core.GL20
 
GL_FLOAT_MAT3 - Static variable in class playn.core.GL20
 
GL_FLOAT_MAT4 - Static variable in class playn.core.GL20
 
GL_FLOAT_VEC2 - Static variable in class playn.core.GL20
 
GL_FLOAT_VEC3 - Static variable in class playn.core.GL20
 
GL_FLOAT_VEC4 - Static variable in class playn.core.GL20
 
GL_FRAGMENT_SHADER - Static variable in class playn.core.GL20
 
GL_FRAMEBUFFER - Static variable in class playn.core.GL20
 
GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME - Static variable in class playn.core.GL20
 
GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE - Static variable in class playn.core.GL20
 
GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE - Static variable in class playn.core.GL20
 
GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL - Static variable in class playn.core.GL20
 
GL_FRAMEBUFFER_BINDING - Static variable in class playn.core.GL20
 
GL_FRAMEBUFFER_COMPLETE - Static variable in class playn.core.GL20
 
GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT - Static variable in class playn.core.GL20
 
GL_FRAMEBUFFER_INCOMPLETE_DIMENSIONS - Static variable in class playn.core.GL20
 
GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT - Static variable in class playn.core.GL20
 
GL_FRAMEBUFFER_UNSUPPORTED - Static variable in class playn.core.GL20
 
GL_FRONT - Static variable in class playn.core.GL20
 
GL_FRONT_AND_BACK - Static variable in class playn.core.GL20
 
GL_FRONT_FACE - Static variable in class playn.core.GL20
 
GL_FUNC_ADD - Static variable in class playn.core.GL20
 
GL_FUNC_REVERSE_SUBTRACT - Static variable in class playn.core.GL20
 
GL_FUNC_SUBTRACT - Static variable in class playn.core.GL20
 
GL_GENERATE_MIPMAP_HINT - Static variable in class playn.core.GL20
 
GL_GEQUAL - Static variable in class playn.core.GL20
 
GL_GREATER - Static variable in class playn.core.GL20
 
GL_GREEN_BITS - Static variable in class playn.core.GL20
 
GL_HIGH_FLOAT - Static variable in class playn.core.GL20
 
GL_HIGH_INT - Static variable in class playn.core.GL20
 
GL_IMPLEMENTATION_COLOR_READ_FORMAT - Static variable in class playn.core.GL20
 
GL_IMPLEMENTATION_COLOR_READ_TYPE - Static variable in class playn.core.GL20
 
GL_INCR - Static variable in class playn.core.GL20
 
GL_INCR_WRAP - Static variable in class playn.core.GL20
 
GL_INFO_LOG_LENGTH - Static variable in class playn.core.GL20
 
GL_INT - Static variable in class playn.core.GL20
 
GL_INT_VEC2 - Static variable in class playn.core.GL20
 
GL_INT_VEC3 - Static variable in class playn.core.GL20
 
GL_INT_VEC4 - Static variable in class playn.core.GL20
 
GL_INVALID_ENUM - Static variable in class playn.core.GL20
 
GL_INVALID_FRAMEBUFFER_OPERATION - Static variable in class playn.core.GL20
 
GL_INVALID_OPERATION - Static variable in class playn.core.GL20
 
GL_INVALID_VALUE - Static variable in class playn.core.GL20
 
GL_INVERT - Static variable in class playn.core.GL20
 
GL_KEEP - Static variable in class playn.core.GL20
 
GL_LEQUAL - Static variable in class playn.core.GL20
 
GL_LESS - Static variable in class playn.core.GL20
 
GL_LINE_LOOP - Static variable in class playn.core.GL20
 
GL_LINE_STRIP - Static variable in class playn.core.GL20
 
GL_LINE_WIDTH - Static variable in class playn.core.GL20
 
GL_LINEAR - Static variable in class playn.core.GL20
 
GL_LINEAR_MIPMAP_LINEAR - Static variable in class playn.core.GL20
 
GL_LINEAR_MIPMAP_NEAREST - Static variable in class playn.core.GL20
 
GL_LINES - Static variable in class playn.core.GL20
 
GL_LINK_STATUS - Static variable in class playn.core.GL20
 
GL_LOW_FLOAT - Static variable in class playn.core.GL20
 
GL_LOW_INT - Static variable in class playn.core.GL20
 
GL_LUMINANCE - Static variable in class playn.core.GL20
 
GL_LUMINANCE_ALPHA - Static variable in class playn.core.GL20
 
GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS - Static variable in class playn.core.GL20
 
GL_MAX_CUBE_MAP_TEXTURE_SIZE - Static variable in class playn.core.GL20
 
GL_MAX_FRAGMENT_UNIFORM_VECTORS - Static variable in class playn.core.GL20
 
GL_MAX_RENDERBUFFER_SIZE - Static variable in class playn.core.GL20
 
GL_MAX_TEXTURE_IMAGE_UNITS - Static variable in class playn.core.GL20
 
GL_MAX_TEXTURE_SIZE - Static variable in class playn.core.GL20
 
GL_MAX_VARYING_VECTORS - Static variable in class playn.core.GL20
 
GL_MAX_VERTEX_ATTRIBS - Static variable in class playn.core.GL20
 
GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS - Static variable in class playn.core.GL20
 
GL_MAX_VERTEX_UNIFORM_VECTORS - Static variable in class playn.core.GL20
 
GL_MAX_VIEWPORT_DIMS - Static variable in class playn.core.GL20
 
GL_MEDIUM_FLOAT - Static variable in class playn.core.GL20
 
GL_MEDIUM_INT - Static variable in class playn.core.GL20
 
GL_MIRRORED_REPEAT - Static variable in class playn.core.GL20
 
GL_NEAREST - Static variable in class playn.core.GL20
 
GL_NEAREST_MIPMAP_LINEAR - Static variable in class playn.core.GL20
 
GL_NEAREST_MIPMAP_NEAREST - Static variable in class playn.core.GL20
 
GL_NEVER - Static variable in class playn.core.GL20
 
GL_NICEST - Static variable in class playn.core.GL20
 
GL_NO_ERROR - Static variable in class playn.core.GL20
 
GL_NONE - Static variable in class playn.core.GL20
 
GL_NOTEQUAL - Static variable in class playn.core.GL20
 
GL_NUM_COMPRESSED_TEXTURE_FORMATS - Static variable in class playn.core.GL20
 
GL_NUM_SHADER_BINARY_FORMATS - Static variable in class playn.core.GL20
 
GL_ONE - Static variable in class playn.core.GL20
 
GL_ONE_MINUS_CONSTANT_ALPHA - Static variable in class playn.core.GL20
 
GL_ONE_MINUS_CONSTANT_COLOR - Static variable in class playn.core.GL20
 
GL_ONE_MINUS_DST_ALPHA - Static variable in class playn.core.GL20
 
GL_ONE_MINUS_DST_COLOR - Static variable in class playn.core.GL20
 
GL_ONE_MINUS_SRC_ALPHA - Static variable in class playn.core.GL20
 
GL_ONE_MINUS_SRC_COLOR - Static variable in class playn.core.GL20
 
GL_OUT_OF_MEMORY - Static variable in class playn.core.GL20
 
GL_PACK_ALIGNMENT - Static variable in class playn.core.GL20
 
GL_POINTS - Static variable in class playn.core.GL20
 
GL_POLYGON_OFFSET_FACTOR - Static variable in class playn.core.GL20
 
GL_POLYGON_OFFSET_FILL - Static variable in class playn.core.GL20
 
GL_POLYGON_OFFSET_UNITS - Static variable in class playn.core.GL20
 
GL_RED_BITS - Static variable in class playn.core.GL20
 
GL_RENDERBUFFER - Static variable in class playn.core.GL20
 
GL_RENDERBUFFER_ALPHA_SIZE - Static variable in class playn.core.GL20
 
GL_RENDERBUFFER_BINDING - Static variable in class playn.core.GL20
 
GL_RENDERBUFFER_BLUE_SIZE - Static variable in class playn.core.GL20
 
GL_RENDERBUFFER_DEPTH_SIZE - Static variable in class playn.core.GL20
 
GL_RENDERBUFFER_GREEN_SIZE - Static variable in class playn.core.GL20
 
GL_RENDERBUFFER_HEIGHT - Static variable in class playn.core.GL20
 
GL_RENDERBUFFER_INTERNAL_FORMAT - Static variable in class playn.core.GL20
 
GL_RENDERBUFFER_RED_SIZE - Static variable in class playn.core.GL20
 
GL_RENDERBUFFER_STENCIL_SIZE - Static variable in class playn.core.GL20
 
GL_RENDERBUFFER_WIDTH - Static variable in class playn.core.GL20
 
GL_RENDERER - Static variable in class playn.core.GL20
 
GL_REPEAT - Static variable in class playn.core.GL20
 
GL_REPLACE - Static variable in class playn.core.GL20
 
GL_RGB - Static variable in class playn.core.GL20
 
GL_RGB565 - Static variable in class playn.core.GL20
 
GL_RGB5_A1 - Static variable in class playn.core.GL20
 
GL_RGBA - Static variable in class playn.core.GL20
 
GL_RGBA4 - Static variable in class playn.core.GL20
 
GL_SAMPLE_ALPHA_TO_COVERAGE - Static variable in class playn.core.GL20
 
GL_SAMPLE_BUFFERS - Static variable in class playn.core.GL20
 
GL_SAMPLE_COVERAGE - Static variable in class playn.core.GL20
 
GL_SAMPLE_COVERAGE_INVERT - Static variable in class playn.core.GL20
 
GL_SAMPLE_COVERAGE_VALUE - Static variable in class playn.core.GL20
 
GL_SAMPLER_2D - Static variable in class playn.core.GL20
 
GL_SAMPLER_CUBE - Static variable in class playn.core.GL20
 
GL_SAMPLES - Static variable in class playn.core.GL20
 
GL_SCISSOR_BOX - Static variable in class playn.core.GL20
 
GL_SCISSOR_TEST - Static variable in class playn.core.GL20
 
GL_SHADER_BINARY_FORMATS - Static variable in class playn.core.GL20
 
GL_SHADER_COMPILER - Static variable in class playn.core.GL20
 
GL_SHADER_SOURCE_LENGTH - Static variable in class playn.core.GL20
 
GL_SHADER_TYPE - Static variable in class playn.core.GL20
 
GL_SHADING_LANGUAGE_VERSION - Static variable in class playn.core.GL20
 
GL_SHORT - Static variable in class playn.core.GL20
 
GL_SRC_ALPHA - Static variable in class playn.core.GL20
 
GL_SRC_ALPHA_SATURATE - Static variable in class playn.core.GL20
 
GL_SRC_COLOR - Static variable in class playn.core.GL20
 
GL_STATIC_DRAW - Static variable in class playn.core.GL20
 
GL_STENCIL_ATTACHMENT - Static variable in class playn.core.GL20
 
GL_STENCIL_BACK_FAIL - Static variable in class playn.core.GL20
 
GL_STENCIL_BACK_FUNC - Static variable in class playn.core.GL20
 
GL_STENCIL_BACK_PASS_DEPTH_FAIL - Static variable in class playn.core.GL20
 
GL_STENCIL_BACK_PASS_DEPTH_PASS - Static variable in class playn.core.GL20
 
GL_STENCIL_BACK_REF - Static variable in class playn.core.GL20
 
GL_STENCIL_BACK_VALUE_MASK - Static variable in class playn.core.GL20
 
GL_STENCIL_BACK_WRITEMASK - Static variable in class playn.core.GL20
 
GL_STENCIL_BITS - Static variable in class playn.core.GL20
 
GL_STENCIL_BUFFER_BIT - Static variable in class playn.core.GL20
 
GL_STENCIL_CLEAR_VALUE - Static variable in class playn.core.GL20
 
GL_STENCIL_FAIL - Static variable in class playn.core.GL20
 
GL_STENCIL_FUNC - Static variable in class playn.core.GL20
 
GL_STENCIL_INDEX - Static variable in class playn.core.GL20
 
GL_STENCIL_INDEX8 - Static variable in class playn.core.GL20
 
GL_STENCIL_PASS_DEPTH_FAIL - Static variable in class playn.core.GL20
 
GL_STENCIL_PASS_DEPTH_PASS - Static variable in class playn.core.GL20
 
GL_STENCIL_REF - Static variable in class playn.core.GL20
 
GL_STENCIL_TEST - Static variable in class playn.core.GL20
 
GL_STENCIL_VALUE_MASK - Static variable in class playn.core.GL20
 
GL_STENCIL_WRITEMASK - Static variable in class playn.core.GL20
 
GL_STREAM_DRAW - Static variable in class playn.core.GL20
 
GL_SUBPIXEL_BITS - Static variable in class playn.core.GL20
 
GL_TEXTURE - Static variable in class playn.core.GL20
 
GL_TEXTURE0 - Static variable in class playn.core.GL20
 
GL_TEXTURE1 - Static variable in class playn.core.GL20
 
GL_TEXTURE10 - Static variable in class playn.core.GL20
 
GL_TEXTURE11 - Static variable in class playn.core.GL20
 
GL_TEXTURE12 - Static variable in class playn.core.GL20
 
GL_TEXTURE13 - Static variable in class playn.core.GL20
 
GL_TEXTURE14 - Static variable in class playn.core.GL20
 
GL_TEXTURE15 - Static variable in class playn.core.GL20
 
GL_TEXTURE16 - Static variable in class playn.core.GL20
 
GL_TEXTURE17 - Static variable in class playn.core.GL20
 
GL_TEXTURE18 - Static variable in class playn.core.GL20
 
GL_TEXTURE19 - Static variable in class playn.core.GL20
 
GL_TEXTURE2 - Static variable in class playn.core.GL20
 
GL_TEXTURE20 - Static variable in class playn.core.GL20
 
GL_TEXTURE21 - Static variable in class playn.core.GL20
 
GL_TEXTURE22 - Static variable in class playn.core.GL20
 
GL_TEXTURE23 - Static variable in class playn.core.GL20
 
GL_TEXTURE24 - Static variable in class playn.core.GL20
 
GL_TEXTURE25 - Static variable in class playn.core.GL20
 
GL_TEXTURE26 - Static variable in class playn.core.GL20
 
GL_TEXTURE27 - Static variable in class playn.core.GL20
 
GL_TEXTURE28 - Static variable in class playn.core.GL20
 
GL_TEXTURE29 - Static variable in class playn.core.GL20
 
GL_TEXTURE3 - Static variable in class playn.core.GL20
 
GL_TEXTURE30 - Static variable in class playn.core.GL20
 
GL_TEXTURE31 - Static variable in class playn.core.GL20
 
GL_TEXTURE4 - Static variable in class playn.core.GL20
 
GL_TEXTURE5 - Static variable in class playn.core.GL20
 
GL_TEXTURE6 - Static variable in class playn.core.GL20
 
GL_TEXTURE7 - Static variable in class playn.core.GL20
 
GL_TEXTURE8 - Static variable in class playn.core.GL20
 
GL_TEXTURE9 - Static variable in class playn.core.GL20
 
GL_TEXTURE_2D - Static variable in class playn.core.GL20
 
GL_TEXTURE_BINDING_2D - Static variable in class playn.core.GL20
 
GL_TEXTURE_BINDING_CUBE_MAP - Static variable in class playn.core.GL20
 
GL_TEXTURE_CUBE_MAP - Static variable in class playn.core.GL20
 
GL_TEXTURE_CUBE_MAP_NEGATIVE_X - Static variable in class playn.core.GL20
 
GL_TEXTURE_CUBE_MAP_NEGATIVE_Y - Static variable in class playn.core.GL20
 
GL_TEXTURE_CUBE_MAP_NEGATIVE_Z - Static variable in class playn.core.GL20
 
GL_TEXTURE_CUBE_MAP_POSITIVE_X - Static variable in class playn.core.GL20
 
GL_TEXTURE_CUBE_MAP_POSITIVE_Y - Static variable in class playn.core.GL20
 
GL_TEXTURE_CUBE_MAP_POSITIVE_Z - Static variable in class playn.core.GL20
 
GL_TEXTURE_MAG_FILTER - Static variable in class playn.core.GL20
 
GL_TEXTURE_MIN_FILTER - Static variable in class playn.core.GL20
 
GL_TEXTURE_WRAP_S - Static variable in class playn.core.GL20
 
GL_TEXTURE_WRAP_T - Static variable in class playn.core.GL20
 
GL_TRIANGLE_FAN - Static variable in class playn.core.GL20
 
GL_TRIANGLE_STRIP - Static variable in class playn.core.GL20
 
GL_TRIANGLES - Static variable in class playn.core.GL20
 
GL_TRUE - Static variable in class playn.core.GL20
 
GL_UNPACK_ALIGNMENT - Static variable in class playn.core.GL20
 
GL_UNSIGNED_BYTE - Static variable in class playn.core.GL20
 
GL_UNSIGNED_INT - Static variable in class playn.core.GL20
 
GL_UNSIGNED_INT_8_8_8_8 - Static variable in class playn.core.GL20
 
GL_UNSIGNED_INT_8_8_8_8_REV - Static variable in class playn.core.GL20
 
GL_UNSIGNED_SHORT - Static variable in class playn.core.GL20
 
GL_UNSIGNED_SHORT_4_4_4_4 - Static variable in class playn.core.GL20
 
GL_UNSIGNED_SHORT_5_5_5_1 - Static variable in class playn.core.GL20
 
GL_UNSIGNED_SHORT_5_6_5 - Static variable in class playn.core.GL20
 
GL_VALIDATE_STATUS - Static variable in class playn.core.GL20
 
GL_VENDOR - Static variable in class playn.core.GL20
 
GL_VERSION - Static variable in class playn.core.GL20
 
GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING - Static variable in class playn.core.GL20
 
GL_VERTEX_ATTRIB_ARRAY_ENABLED - Static variable in class playn.core.GL20
 
GL_VERTEX_ATTRIB_ARRAY_NORMALIZED - Static variable in class playn.core.GL20
 
GL_VERTEX_ATTRIB_ARRAY_POINTER - Static variable in class playn.core.GL20
 
GL_VERTEX_ATTRIB_ARRAY_SIZE - Static variable in class playn.core.GL20
 
GL_VERTEX_ATTRIB_ARRAY_STRIDE - Static variable in class playn.core.GL20
 
GL_VERTEX_ATTRIB_ARRAY_TYPE - Static variable in class playn.core.GL20
 
GL_VERTEX_SHADER - Static variable in class playn.core.GL20
 
GL_VIEWPORT - Static variable in class playn.core.GL20
 
GL_ZERO - Static variable in class playn.core.GL20
 
glActiveTexture(int) - Method in class playn.core.GL20
 
glAttachShader(int, int) - Method in class playn.core.GL20
 
GLBatch - Class in playn.core
A batch manages the delivery of groups of drawing calls to the GPU.
GLBatch() - Constructor for class playn.core.GLBatch
 
glBindAttribLocation(int, int, String) - Method in class playn.core.GL20
 
glBindBuffer(int, int) - Method in class playn.core.GL20
 
glBindFramebuffer(int, int) - Method in class playn.core.GL20
 
glBindRenderbuffer(int, int) - Method in class playn.core.GL20
 
glBindTexture(int, int) - Method in class playn.core.GL20
 
glBlendColor(float, float, float, float) - Method in class playn.core.GL20
 
glBlendEquation(int) - Method in class playn.core.GL20
 
glBlendEquationSeparate(int, int) - Method in class playn.core.GL20
 
glBlendFunc(int, int) - Method in class playn.core.GL20
 
glBlendFuncSeparate(int, int, int, int) - Method in class playn.core.GL20
 
glBufferData(int, int, Buffer, int) - Method in class playn.core.GL20
 
glBufferSubData(int, int, int, Buffer) - Method in class playn.core.GL20
 
glCheckFramebufferStatus(int) - Method in class playn.core.GL20
 
glClear(int) - Method in class playn.core.GL20
 
glClearColor(float, float, float, float) - Method in class playn.core.GL20
 
glClearDepth(double) - Method in class playn.core.GL20
 
glClearDepthf(float) - Method in class playn.core.GL20
 
glClearStencil(int) - Method in class playn.core.GL20
 
glColorMask(boolean, boolean, boolean, boolean) - Method in class playn.core.GL20
 
glCompileShader(int) - Method in class playn.core.GL20
 
glCompressedTexImage2D(int, int, int, int, int, int, int, Buffer) - Method in class playn.core.GL20
 
glCompressedTexImage2D(int, int, int, int, int, int, int, int) - Method in class playn.core.GL20
 
glCompressedTexImage3D(int, int, int, int, int, int, int, int, Buffer) - Method in class playn.core.GL20
 
glCompressedTexImage3D(int, int, int, int, int, int, int, int, int) - Method in class playn.core.GL20
 
glCompressedTexSubImage2D(int, int, int, int, int, int, int, int, Buffer) - Method in class playn.core.GL20
 
glCompressedTexSubImage2D(int, int, int, int, int, int, int, int, int) - Method in class playn.core.GL20
 
glCompressedTexSubImage3D(int, int, int, int, int, int, int, int, int, int, Buffer) - Method in class playn.core.GL20
 
glCompressedTexSubImage3D(int, int, int, int, int, int, int, int, int, int, int) - Method in class playn.core.GL20
 
glCopyTexImage2D(int, int, int, int, int, int, int, int) - Method in class playn.core.GL20
 
glCopyTexSubImage2D(int, int, int, int, int, int, int, int) - Method in class playn.core.GL20
 
glCopyTexSubImage3D(int, int, int, int, int, int, int, int, int) - Method in class playn.core.GL20
 
glCreateProgram() - Method in class playn.core.GL20
 
glCreateShader(int) - Method in class playn.core.GL20
 
glCullFace(int) - Method in class playn.core.GL20
 
glDeleteBuffer(int) - Method in class playn.core.GL20
 
glDeleteBuffers(int, int[], int) - Method in class playn.core.GL20
 
glDeleteBuffers(int, IntBuffer) - Method in class playn.core.GL20
 
glDeleteFramebuffer(int) - Method in class playn.core.GL20
 
glDeleteFramebuffers(int, int[], int) - Method in class playn.core.GL20
 
glDeleteFramebuffers(int, IntBuffer) - Method in class playn.core.GL20
 
glDeleteProgram(int) - Method in class playn.core.GL20
 
glDeleteRenderbuffer(int) - Method in class playn.core.GL20
 
glDeleteRenderbuffers(int, int[], int) - Method in class playn.core.GL20
 
glDeleteRenderbuffers(int, IntBuffer) - Method in class playn.core.GL20
 
glDeleteShader(int) - Method in class playn.core.GL20
 
glDeleteTexture(int) - Method in class playn.core.GL20
 
glDeleteTextures(int, int[], int) - Method in class playn.core.GL20
 
glDeleteTextures(int, IntBuffer) - Method in class playn.core.GL20
 
glDepthFunc(int) - Method in class playn.core.GL20
 
glDepthMask(boolean) - Method in class playn.core.GL20
 
glDepthRange(double, double) - Method in class playn.core.GL20
 
glDepthRangef(float, float) - Method in class playn.core.GL20
 
glDetachShader(int, int) - Method in class playn.core.GL20
 
glDisable(int) - Method in class playn.core.GL20
 
glDisableVertexAttribArray(int) - Method in class playn.core.GL20
 
glDrawArrays(int, int, int) - Method in class playn.core.GL20
 
glDrawElements(int, int, int, Buffer) - Method in class playn.core.GL20
 
glDrawElements(int, int, int, int) - Method in class playn.core.GL20
 
glEnable(int) - Method in class playn.core.GL20
 
glEnableVertexAttribArray(int) - Method in class playn.core.GL20
 
glFinish() - Method in class playn.core.GL20
 
glFlush() - Method in class playn.core.GL20
 
glFramebufferRenderbuffer(int, int, int, int) - Method in class playn.core.GL20
 
glFramebufferTexture2D(int, int, int, int, int) - Method in class playn.core.GL20
 
glFramebufferTexture3D(int, int, int, int, int, int) - Method in class playn.core.GL20
 
glFrontFace(int) - Method in class playn.core.GL20
 
glGenBuffer() - Method in class playn.core.GL20
 
glGenBuffers(int, int[], int) - Method in class playn.core.GL20
 
glGenBuffers(int, IntBuffer) - Method in class playn.core.GL20
 
glGenerateMipmap(int) - Method in class playn.core.GL20
 
glGenFramebuffer() - Method in class playn.core.GL20
 
glGenFramebuffers(int, int[], int) - Method in class playn.core.GL20
 
glGenFramebuffers(int, IntBuffer) - Method in class playn.core.GL20
 
glGenRenderbuffer() - Method in class playn.core.GL20
 
glGenRenderbuffers(int, int[], int) - Method in class playn.core.GL20
 
glGenRenderbuffers(int, IntBuffer) - Method in class playn.core.GL20
 
glGenTexture() - Method in class playn.core.GL20
 
glGenTextures(int, int[], int) - Method in class playn.core.GL20
 
glGenTextures(int, IntBuffer) - Method in class playn.core.GL20
 
glGetActiveAttrib(int, int, int, int[], int, int[], int, int[], int, byte[], int) - Method in class playn.core.GL20
 
glGetActiveAttrib(int, int, int, IntBuffer, IntBuffer, IntBuffer, ByteBuffer) - Method in class playn.core.GL20
 
glGetActiveUniform(int, int, int, int[], int, int[], int, int[], int, byte[], int) - Method in class playn.core.GL20
 
glGetActiveUniform(int, int, int, IntBuffer, IntBuffer, IntBuffer, ByteBuffer) - Method in class playn.core.GL20
 
glGetAttachedShaders(int, int, int[], int, int[], int) - Method in class playn.core.GL20
 
glGetAttachedShaders(int, int, IntBuffer, IntBuffer) - Method in class playn.core.GL20
 
glGetAttribLocation(int, String) - Method in class playn.core.GL20
 
glGetBoolean(int) - Method in class playn.core.GL20
 
glGetBooleanv(int, byte[], int) - Method in class playn.core.GL20
 
glGetBooleanv(int, ByteBuffer) - Method in class playn.core.GL20
 
glGetBoundBuffer(int) - Method in class playn.core.GL20
 
glGetBufferParameteriv(int, int, int[], int) - Method in class playn.core.GL20
 
glGetBufferParameteriv(int, int, IntBuffer) - Method in class playn.core.GL20
 
glGetError() - Method in class playn.core.GL20
 
glGetFloat(int) - Method in class playn.core.GL20
 
glGetFloatv(int, float[], int) - Method in class playn.core.GL20
 
glGetFloatv(int, FloatBuffer) - Method in class playn.core.GL20
 
glGetFramebufferAttachmentParameteriv(int, int, int, int[], int) - Method in class playn.core.GL20
 
glGetFramebufferAttachmentParameteriv(int, int, int, IntBuffer) - Method in class playn.core.GL20
 
glGetInteger(int) - Method in class playn.core.GL20
 
glGetIntegerv(int, int[], int) - Method in class playn.core.GL20
 
glGetIntegerv(int, IntBuffer) - Method in class playn.core.GL20
 
glGetProgramBinary(int, int, int[], int, int[], int, Buffer) - Method in class playn.core.GL20
 
glGetProgramBinary(int, int, IntBuffer, IntBuffer, Buffer) - Method in class playn.core.GL20
 
glGetProgramInfoLog(int, int, int[], int, byte[], int) - Method in class playn.core.GL20
 
glGetProgramInfoLog(int, int, IntBuffer, ByteBuffer) - Method in class playn.core.GL20
 
glGetProgramInfoLog(int) - Method in class playn.core.GL20
 
glGetProgramiv(int, int, int[], int) - Method in class playn.core.GL20
 
glGetProgramiv(int, int, IntBuffer) - Method in class playn.core.GL20
 
glGetRenderbufferParameteriv(int, int, int[], int) - Method in class playn.core.GL20
 
glGetRenderbufferParameteriv(int, int, IntBuffer) - Method in class playn.core.GL20
 
glGetShaderInfoLog(int, int, int[], int, byte[], int) - Method in class playn.core.GL20
 
glGetShaderInfoLog(int, int, IntBuffer, ByteBuffer) - Method in class playn.core.GL20
 
glGetShaderInfoLog(int) - Method in class playn.core.GL20
 
glGetShaderiv(int, int, int[], int) - Method in class playn.core.GL20
 
glGetShaderiv(int, int, IntBuffer) - Method in class playn.core.GL20
 
glGetShaderPrecisionFormat(int, int, int[], int, int[], int) - Method in class playn.core.GL20
 
glGetShaderPrecisionFormat(int, int, IntBuffer, IntBuffer) - Method in class playn.core.GL20
 
glGetShaderSource(int, int, int[], int, byte[], int) - Method in class playn.core.GL20
 
glGetShaderSource(int, int, IntBuffer, ByteBuffer) - Method in class playn.core.GL20
 
glGetString(int) - Method in class playn.core.GL20
 
glGetTexParameterfv(int, int, float[], int) - Method in class playn.core.GL20
 
glGetTexParameterfv(int, int, FloatBuffer) - Method in class playn.core.GL20
 
glGetTexParameteriv(int, int, int[], int) - Method in class playn.core.GL20
 
glGetTexParameteriv(int, int, IntBuffer) - Method in class playn.core.GL20
 
glGetUniformfv(int, int, float[], int) - Method in class playn.core.GL20
 
glGetUniformfv(int, int, FloatBuffer) - Method in class playn.core.GL20
 
glGetUniformiv(int, int, int[], int) - Method in class playn.core.GL20
 
glGetUniformiv(int, int, IntBuffer) - Method in class playn.core.GL20
 
glGetUniformLocation(int, String) - Method in class playn.core.GL20
 
glGetVertexAttribfv(int, int, float[], int) - Method in class playn.core.GL20
 
glGetVertexAttribfv(int, int, FloatBuffer) - Method in class playn.core.GL20
 
glGetVertexAttribiv(int, int, int[], int) - Method in class playn.core.GL20
 
glGetVertexAttribiv(int, int, IntBuffer) - Method in class playn.core.GL20
 
glHint(int, int) - Method in class playn.core.GL20
 
glIsBuffer(int) - Method in class playn.core.GL20
 
glIsEnabled(int) - Method in class playn.core.GL20
 
glIsFramebuffer(int) - Method in class playn.core.GL20
 
glIsProgram(int) - Method in class playn.core.GL20
 
glIsRenderbuffer(int) - Method in class playn.core.GL20
 
glIsShader(int) - Method in class playn.core.GL20
 
glIsTexture(int) - Method in class playn.core.GL20
 
glIsVBOArrayEnabled() - Method in class playn.core.GL20
 
glIsVBOElementEnabled() - Method in class playn.core.GL20
 
glLineWidth(float) - Method in class playn.core.GL20
 
glLinkProgram(int) - Method in class playn.core.GL20
 
glMapBuffer(int, int) - Method in class playn.core.GL20
 
glPixelStorei(int, int) - Method in class playn.core.GL20
 
glPolygonOffset(float, float) - Method in class playn.core.GL20
 
GLProgram - Class in playn.core
Encapsulates a GL vertex and fragment shader program pair.
GLProgram(GL20, String, String) - Constructor for class playn.core.GLProgram
Compiles and links the shader program described by vertexSource and fragmentSource.
glProgramBinary(int, int, Buffer, int) - Method in class playn.core.GL20
 
glReadPixels(int, int, int, int, int, int, Buffer) - Method in class playn.core.GL20
 
glReadPixels(int, int, int, int, int, int, int) - Method in class playn.core.GL20
 
glReleaseShaderCompiler() - Method in class playn.core.GL20
 
glRenderbufferStorage(int, int, int, int) - Method in class playn.core.GL20
 
glSampleCoverage(float, boolean) - Method in class playn.core.GL20
 
glScissor(int, int, int, int) - Method in class playn.core.GL20
 
glShaderBinary(int, int[], int, int, Buffer, int) - Method in class playn.core.GL20
 
glShaderBinary(int, IntBuffer, int, Buffer, int) - Method in class playn.core.GL20
 
glShaderSource(int, int, String[], int[], int) - Method in class playn.core.GL20
 
glShaderSource(int, int, String[], IntBuffer) - Method in class playn.core.GL20
 
glShaderSource(int, String) - Method in class playn.core.GL20
 
glStencilFunc(int, int, int) - Method in class playn.core.GL20
 
glStencilFuncSeparate(int, int, int, int) - Method in class playn.core.GL20
 
glStencilMask(int) - Method in class playn.core.GL20
 
glStencilMaskSeparate(int, int) - Method in class playn.core.GL20
 
glStencilOp(int, int, int) - Method in class playn.core.GL20
 
glStencilOpSeparate(int, int, int, int) - Method in class playn.core.GL20
 
glTexImage2D(int, int, int, int, int, int, int, int, Buffer) - Method in class playn.core.GL20
 
glTexImage2D(int, int, int, int, int, int, int, int, int) - Method in class playn.core.GL20
 
glTexImage3D(int, int, int, int, int, int, int, int, int, Buffer) - Method in class playn.core.GL20
 
glTexImage3D(int, int, int, int, int, int, int, int, int, int) - Method in class playn.core.GL20
 
glTexParameterf(int, int, float) - Method in class playn.core.GL20
 
glTexParameterfv(int, int, float[], int) - Method in class playn.core.GL20
 
glTexParameterfv(int, int, FloatBuffer) - Method in class playn.core.GL20
 
glTexParameteri(int, int, int) - Method in class playn.core.GL20
 
glTexParameteriv(int, int, int[], int) - Method in class playn.core.GL20
 
glTexParameteriv(int, int, IntBuffer) - Method in class playn.core.GL20
 
glTexSubImage2D(int, int, int, int, int, int, int, int, Buffer) - Method in class playn.core.GL20
 
glTexSubImage2D(int, int, int, int, int, int, int, int, int) - Method in class playn.core.GL20
 
glTexSubImage3D(int, int, int, int, int, int, int, int, int, int, Buffer) - Method in class playn.core.GL20
 
glTexSubImage3D(int, int, int, int, int, int, int, int, int, int, int) - Method in class playn.core.GL20
 
glUniform1f(int, float) - Method in class playn.core.GL20
 
glUniform1fv(int, int, float[], int) - Method in class playn.core.GL20
 
glUniform1fv(int, int, FloatBuffer) - Method in class playn.core.GL20
 
glUniform1i(int, int) - Method in class playn.core.GL20
 
glUniform1iv(int, int, int[], int) - Method in class playn.core.GL20
 
glUniform1iv(int, int, IntBuffer) - Method in class playn.core.GL20
 
glUniform2f(int, float, float) - Method in class playn.core.GL20
 
glUniform2fv(int, int, float[], int) - Method in class playn.core.GL20
 
glUniform2fv(int, int, FloatBuffer) - Method in class playn.core.GL20
 
glUniform2i(int, int, int) - Method in class playn.core.GL20
 
glUniform2iv(int, int, int[], int) - Method in class playn.core.GL20
 
glUniform2iv(int, int, IntBuffer) - Method in class playn.core.GL20
 
glUniform3f(int, float, float, float) - Method in class playn.core.GL20
 
glUniform3fv(int, int, float[], int) - Method in class playn.core.GL20
 
glUniform3fv(int, int, FloatBuffer) - Method in class playn.core.GL20
 
glUniform3i(int, int, int, int) - Method in class playn.core.GL20
 
glUniform3iv(int, int, int[], int) - Method in class playn.core.GL20
 
glUniform3iv(int, int, IntBuffer) - Method in class playn.core.GL20
 
glUniform4f(int, float, float, float, float) - Method in class playn.core.GL20
 
glUniform4fv(int, int, float[], int) - Method in class playn.core.GL20
 
glUniform4fv(int, int, FloatBuffer) - Method in class playn.core.GL20
 
glUniform4i(int, int, int, int, int) - Method in class playn.core.GL20
 
glUniform4iv(int, int, int[], int) - Method in class playn.core.GL20
 
glUniform4iv(int, int, IntBuffer) - Method in class playn.core.GL20
 
glUniformMatrix2fv(int, int, boolean, float[], int) - Method in class playn.core.GL20
 
glUniformMatrix2fv(int, int, boolean, FloatBuffer) - Method in class playn.core.GL20
 
glUniformMatrix3fv(int, int, boolean, float[], int) - Method in class playn.core.GL20
 
glUniformMatrix3fv(int, int, boolean, FloatBuffer) - Method in class playn.core.GL20
 
glUniformMatrix4fv(int, int, boolean, float[], int) - Method in class playn.core.GL20
 
glUniformMatrix4fv(int, int, boolean, FloatBuffer) - Method in class playn.core.GL20
 
glUnmapBuffer(int) - Method in class playn.core.GL20
 
glUseProgram(int) - Method in class playn.core.GL20
 
GLUtil - Class in playn.core
 
GLUtil() - Constructor for class playn.core.GLUtil
 
glValidateProgram(int) - Method in class playn.core.GL20
 
glVertexAttrib1f(int, float) - Method in class playn.core.GL20
 
glVertexAttrib1fv(int, float[], int) - Method in class playn.core.GL20
 
glVertexAttrib1fv(int, FloatBuffer) - Method in class playn.core.GL20
 
glVertexAttrib2f(int, float, float) - Method in class playn.core.GL20
 
glVertexAttrib2fv(int, float[], int) - Method in class playn.core.GL20
 
glVertexAttrib2fv(int, FloatBuffer) - Method in class playn.core.GL20
 
glVertexAttrib3f(int, float, float, float) - Method in class playn.core.GL20
 
glVertexAttrib3fv(int, float[], int) - Method in class playn.core.GL20
 
glVertexAttrib3fv(int, FloatBuffer) - Method in class playn.core.GL20
 
glVertexAttrib4f(int, float, float, float, float) - Method in class playn.core.GL20
 
glVertexAttrib4fv(int, float[], int) - Method in class playn.core.GL20
 
glVertexAttrib4fv(int, FloatBuffer) - Method in class playn.core.GL20
 
glVertexAttribPointer(int, int, int, boolean, int, Buffer) - Method in class playn.core.GL20
 
glVertexAttribPointer(int, int, int, boolean, int, int) - Method in class playn.core.GL20
 
glViewport(int, int, int, int) - Method in class playn.core.GL20
 
Gradient - Class in playn.core
A gradient fill pattern created by Canvas.createGradient(playn.core.Gradient.Config).
Gradient() - Constructor for class playn.core.Gradient
 
Gradient.Config - Class in playn.core
Used to create gradients.
Gradient.Linear - Class in playn.core
Creates a linear gradient fill pattern.
Gradient.Radial - Class in playn.core
Creates a radial gradient fill pattern.
Graphics - Class in playn.core
Provides access to graphics information and services.
graphics() - Method in class playn.core.Platform
Returns the Graphics service.
graphics() - Method in class playn.core.StubPlatform
 
green(int) - Static method in class playn.core.Color
Extracts the green component, in range [0, 255], from the given packed color.

H

hasGLSL() - Method in class playn.core.GL20
 
hasHardwareKeyboard() - Method in class playn.core.Input
Returns true if this device has a hardware keyboard, false if not.
hashCode() - Method in class playn.core.Font
 
hashCode() - Method in class playn.core.TextFormat
 
hashCode() - Method in class playn.core.TextWrap
 
hasMouse() - Method in class playn.core.Input
Returns true if this platform has mouse input.
hasMouseLock() - Method in class playn.core.Input
Returns true if this platform supports mouse locking.
hasTouch() - Method in class playn.core.Input
Returns true if this platform has touch input.
Header(String, String) - Constructor for class playn.core.Net.Header
 
header(String) - Method in class playn.core.Net.Response
Returns the value of the header with the specified name, or null.
headerNames() - Method in class playn.core.Net.Response
Returns the names of all headers returned by the server.
headers - Variable in class playn.core.Net.Builder
 
headers(String) - Method in class playn.core.Net.Response
Returns the value of all headers with the specified name, or the empty list.
height() - Method in interface playn.core.Canvas.Drawable
 
height - Variable in class playn.core.Canvas
The height of this canvas.
height() - Method in class playn.core.Image
This image's height in display units.
height() - Method in class playn.core.RenderTarget
The height of the framebuffer in pixels.
height() - Method in class playn.core.Texture
 
height() - Method in class playn.core.Tile
The height of this tile (in display units).
HttpException(int, String) - Constructor for exception playn.core.Net.HttpException
 

I

id - Variable in class playn.core.GLProgram
The GL id of this shader program.
id() - Method in class playn.core.RenderTarget
The framebuffer id.
id - Variable in class playn.core.Texture
The GL texture handle.
id - Variable in class playn.core.Touch.Event
The id of the touch associated with this event.
image - Variable in class playn.core.Canvas
The image that underlies this canvas.
Image - Class in playn.core
Bitmapped image data.
Image.BitmapTransformer - Interface in playn.core
Image.Region - Class in playn.core
A region of an image which can be rendered to Canvases and turned into a texture (which is a Tile of the original image's texture).
ImageImpl - Class in playn.core
An implementation detail.
ImageImpl.Data - Class in playn.core
Used to provide bitmap data to the abstract image once it's ready.
indent - Variable in class playn.core.TextWrap
An indent applied to the first line of text.
info(String) - Method in class playn.core.Log
Logs msg at the info level.
info(String, Object...) - Method in class playn.core.Log
Logs msg at the info level.
info(String, Throwable) - Method in class playn.core.Log
Logs msg and e at the info level.
Input - Class in playn.core
Provides information about user input: mouse, touch, and keyboard.
input() - Method in class playn.core.Platform
Returns the Input service.
input() - Method in class playn.core.StubPlatform
 
intBuffer - Variable in class playn.core.GL20.Buffers
 
intersects(float, float, float, float) - Method in class playn.core.Surface
Returns whether the given rectangle intersects the render target area of this surface.
invokeAsync(Runnable) - Method in class playn.core.Exec.Default
 
invokeAsync(Runnable) - Method in class playn.core.Exec
Invokes the supplied action on a separate thread.
invokeAsync(Runnable) - Method in class playn.core.Platform
invokeLater(Runnable) - Method in class playn.core.Exec.Default
 
invokeLater(Runnable) - Method in class playn.core.Exec
Invokes action on the next Platform.frame signal.
invokeLater(Runnable) - Method in class playn.core.Platform
invScaled(float) - Method in class playn.core.Scale
Returns the supplied length inverse scaled by our scale factor.
invScaledCeil(float) - Method in class playn.core.Scale
Returns the supplied length inverse scaled by our scale factor and rounded up.
invScaledFloor(float) - Method in class playn.core.Scale
Returns the supplied length inverse scaled by our scale factor and rounded down.
isAltDown() - Method in class playn.core.Event.Input
Returns true if the alt key was down when this event was generated.
isArray(int) - Method in interface playn.core.Json.Array
Returns true if the value at the given index is an array.
isArray(Object) - Method in interface playn.core.Json
Determines if the given object is a JSON Json.Array.
isArray(String) - Method in interface playn.core.Json.Object
Returns true if the value at the given key is an array.
isAsyncSupported() - Method in class playn.core.Exec.Default
 
isAsyncSupported() - Method in class playn.core.Exec
Returns whether this platform supports async (background) operations.
isAsyncSupported() - Method in class playn.core.Platform
Deprecated.
isBoolean(int) - Method in interface playn.core.Json.Array
Returns true if the value at the given index is a boolean.
isBoolean(String) - Method in interface playn.core.Json.Object
Returns true if the value at the given key is a boolean.
isCtrlDown() - Method in class playn.core.Event.Input
Returns true if the ctrl key was down when this event was generated.
isEnd - Variable in enum playn.core.Pointer.Event.Kind
Whether this kind starts or ends an interaction.
isEnd - Variable in enum playn.core.Touch.Event.Kind
Whether this touch kind starts or ends an interaction.
isExtensionAvailable(String) - Method in class playn.core.GL20
 
isFunctionAvailable(String) - Method in class playn.core.GL20
 
isLikelyToPerform(GL20) - Static method in class playn.core.UniformQuadBatch
Returns false if the GL context doesn't support sufficient numbers of vertex uniform vectors to allow this shader to run with good performance, true otherwise.
isLoaded() - Method in class playn.core.Image
Returns whether this image is fully loaded.
isLoaded() - Method in class playn.core.Sound
Returns whether this sound is fully loaded.
isLoaded() - Method in class playn.core.Tile
 
isLoaded() - Method in class playn.core.TileSource
Returns whether this tile source is loaded and ready to provide its tile.
isMetaDown() - Method in class playn.core.Event.Input
Returns true if the meta key was down when this event was generated.
isMouseLocked() - Method in class playn.core.Input
Returns whether the mouse is currently locked.
isNull(int) - Method in interface playn.core.Json.Array
Returns true if the value at the given index is null, or does not exist.
isNull(String) - Method in interface playn.core.Json.Object
Returns true if the value at the given key is null or does not exist.
isNumber(int) - Method in interface playn.core.Json.Array
Returns true if the value at the given index is a number.
isNumber(String) - Method in interface playn.core.Json.Object
Returns true if the value at the given key is a number.
isObject(int) - Method in interface playn.core.Json.Array
Returns true if the value at the given index is an object.
isObject(Object) - Method in interface playn.core.Json
Determines if the given object is a JSON Object.
isObject(String) - Method in interface playn.core.Json.Object
Returns true if the value at the given key is an object.
isPersisted() - Method in interface playn.core.Storage
Returns true if storage data will be persistent across restarts.
isPlaying() - Method in class playn.core.Sound
Determine whether this audio stream is currently playing.
isPlaying() - Method in class playn.core.SoundImpl
 
isPost() - Method in class playn.core.Net.Builder
 
isSet(int) - Method in class playn.core.Event.Input
Returns whether the flag bit is set.
isShiftDown() - Method in class playn.core.Event.Input
Returns true if the shift key was down when this event was generated.
isStart - Variable in enum playn.core.Pointer.Event.Kind
Whether this kind starts or ends an interaction.
isStart - Variable in enum playn.core.Touch.Event.Kind
Whether this touch kind starts or ends an interaction.
isString(int) - Method in interface playn.core.Json.Array
Returns true if the value at the given index is a string.
isString(String) - Method in interface playn.core.Json.Object
Returns true if the value at the given key is a string.
isTouch - Variable in class playn.core.Pointer.Event
Whether this event originated from a touch event.
iterator() - Method in interface playn.core.Json.TypedArray
Returns an iterator over the values of the assumed type in this array.

J

Json - Interface in playn.core
PlayN JSON parsing and serialization interface.
json() - Method in class playn.core.Platform
Returns the Json service.
json() - Method in class playn.core.StubPlatform
 
Json.Array - Interface in playn.core
Represents a parsed JSON array as a simple int->value map.
Json.Object - Interface in playn.core
Represents a parsed JSON object as a simple string->value map.
Json.TypedArray<T> - Interface in playn.core
A JSON array that assumes all values are of a uniform JSON type.
Json.TypedArray.Util - Class in playn.core
Contains utility methods for creating typed arrays to supply as the default when fetching optional typed arrays from your JSON model.
Json.Writer - Interface in playn.core
A JsonSink that writes JSON to a string.

K

Key - Enum in playn.core
Enumerates all possible keys that may be encountered on all platforms.
key - Variable in class playn.core.Keyboard.KeyEvent
The key that triggered this event, e.g.
Keyboard - Class in playn.core
Defines and dispatches keyboard events.
Keyboard() - Constructor for class playn.core.Keyboard
 
Keyboard.Event - Class in playn.core
The base class for all keyboard events.
Keyboard.KeyEvent - Class in playn.core
An event dispatched for key press/release.
Keyboard.KeySlot - Class in playn.core
A slot which only dispatches on Keyboard.KeyEvents.
Keyboard.TextType - Enum in playn.core
Enumerates the different available mobile keyboard types.
Keyboard.TypedEvent - Class in playn.core
An event dispatched when a printable character is typed.
Keyboard.TypedSlot - Class in playn.core
A slot which only dispatches on Keyboard.TypedEvents.
keyboardEnabled - Variable in class playn.core.Input
Enables or disables keyboard interaction.
keyboardEvents - Variable in class playn.core.Input
A signal via which keyboard events are emitted.
KeyEvent(int, double, Key, boolean) - Constructor for class playn.core.Keyboard.KeyEvent
 
keys() - Method in interface playn.core.Json.Object
Gets a snapshot of the current set of keys for this JSON object.
keys() - Method in interface playn.core.Storage
Returns an object that can be used to iterate over all storage keys.
KeySlot() - Constructor for class playn.core.Keyboard.KeySlot
 
kind - Variable in class playn.core.Pointer.Event
Whether this event represents a start, move, etc.
kind - Variable in class playn.core.Touch.Event
Whether this event represents a start, move, etc.

L

layoutText(String, TextFormat) - Method in class playn.core.Graphics
Lays out a single line of text using the specified format.
layoutText(String, TextFormat, TextWrap) - Method in class playn.core.Graphics
Lays out multiple lines of text using the specified format and wrap configuration.
leading() - Method in class playn.core.TextLayout
The number of pixels between the bottom of one line of text and the top of the next.
length() - Method in interface playn.core.Json.Array
Gets the length of this array.
length() - Method in interface playn.core.Json.TypedArray
Returns the number of values in this array.
lifecycle - Variable in class playn.core.Platform
A signal emitted with lifecycle events.
Linear(float, float, float, float, int[], float[]) - Constructor for class playn.core.Gradient.Linear
 
lines - Variable in class playn.core.TextBlock
The individual lines of text in this block.
lineTo(float, float) - Method in interface playn.core.Path
Adds a line to the path, from the current position to the specified target.
Log - Class in playn.core
Simple PlayN logging interface.
Log() - Constructor for class playn.core.Log
 
log() - Method in class playn.core.Platform
Returns the Log service.
log() - Method in class playn.core.StubPlatform
 
Log.Collector - Interface in playn.core
Allows for collection of log messages (in addition to standard logging).
Log.Level - Enum in playn.core
Tags a log message with a level.
logged(Log.Level, String, Throwable) - Method in interface playn.core.Log.Collector
Called when a message is logged.

M

magFilter - Variable in class playn.core.Texture.Config
The filter to use when this texture is scaled: GL_LINEAR or GL_NEAREST.
managed - Variable in class playn.core.Texture.Config
Whether or not texture's lifecycle is automatically managed via reference counting.
MANUAL - Static variable in class playn.core.TextWrap
An instance that indicates that we should only wrap on manual line breaks and not at any specific width.
message - Variable in class playn.core.Platform.Error
 
method() - Method in class playn.core.Net.Builder
 
minFilter - Variable in class playn.core.Texture.Config
The filter to use when this texture is scaled: GL_LINEAR or GL_NEAREST.
mipmaps - Variable in class playn.core.Texture.Config
Whether texture has mipmaps generated.
modifierFlags(boolean, boolean, boolean, boolean) - Static method in class playn.core.Event.Input
A helper function used by platform input code to compose modifier flags.
MotionEvent(int, double, float, float, float, float) - Constructor for class playn.core.Mouse.MotionEvent
 
MotionSlot() - Constructor for class playn.core.Mouse.MotionSlot
 
Mouse - Class in playn.core
Defines and dispatches mouse events.
Mouse() - Constructor for class playn.core.Mouse
 
Mouse.ButtonEvent - Class in playn.core
The event dispatched for mouse input.
Mouse.ButtonEvent.Id - Enum in playn.core
Enumerates the supported mouse buttons.
Mouse.ButtonSlot - Class in playn.core
A slot which only dispatches on Mouse.ButtonEvents.
Mouse.Event - Class in playn.core
The base class for all mouse events.
Mouse.MotionEvent - Class in playn.core
An event dispatched when the mouse is moved.
Mouse.MotionSlot - Class in playn.core
A slot which only dispatches on Mouse.MotionEvents.
Mouse.WheelEvent - Class in playn.core
An event dispatched when the mouse wheel is scrolled.
Mouse.WheelSlot - Class in playn.core
A slot which only dispatches on Mouse.WheelEvents.
mouseEnabled - Variable in class playn.core.Input
Enables or disables mouse interaction.
mouseEvents - Variable in class playn.core.Input
A signal which emits mouse events.
moveTo(float, float) - Method in interface playn.core.Path
Moves the position to the given location.

N

name - Variable in class playn.core.Font
The name of this font.
name - Variable in class playn.core.Net.Header
 
Net - Class in playn.core
PlayN network interface.
Net() - Constructor for class playn.core.Net
 
net() - Method in class playn.core.Platform
Returns the Net service.
net() - Method in class playn.core.StubPlatform
 
Net.Builder - Class in playn.core
Builds a request and allows it to be configured and executed.
Net.Header - Class in playn.core
Contains data for an HTTP header.
Net.HttpException - Exception in playn.core
Net.Response - Class in playn.core
Communicates an HTTP response to the caller.
Net.Response.Binary - Class in playn.core
Used to deliver binary response data.
Net.WebSocket - Interface in playn.core
Encapsulates a web socket.
Net.WebSocket.Listener - Interface in playn.core
Notifies game of web socket events.
newWriter() - Method in interface playn.core.Json
Creates a new Json.Writer, which can be used to serialize data into the JSON format.
nextPOT(int) - Static method in class playn.core.Texture
Returns next largest power of two, or value if value is already a POT.
nextPowerOfTwo(int) - Static method in class playn.core.GLUtil
Returns the next largest power of two, or zero if x is already a power of two.
NOOP_TINT - Static variable in class playn.core.Tint
A tint that does not change the underlying color.
normalizeEOL(String) - Static method in class playn.core.TextLayout
A helper function for normalizing EOL prior to processing.

O

onClose() - Method in interface playn.core.Net.WebSocket.Listener
Reports that a web socket has been closed.
onDataMessage(ByteBuffer) - Method in interface playn.core.Net.WebSocket.Listener
Reports that a binary message has arrived on a web socket.
ONE - Static variable in class playn.core.Scale
An unscaled scale factor singleton.
onEmit(Keyboard.Event) - Method in class playn.core.Keyboard.KeySlot
 
onEmit(Keyboard.KeyEvent) - Method in class playn.core.Keyboard.KeySlot
 
onEmit(Keyboard.Event) - Method in class playn.core.Keyboard.TypedSlot
 
onEmit(Keyboard.TypedEvent) - Method in class playn.core.Keyboard.TypedSlot
 
onEmit(Mouse.Event) - Method in class playn.core.Mouse.ButtonSlot
 
onEmit(Mouse.ButtonEvent) - Method in class playn.core.Mouse.ButtonSlot
 
onEmit(Mouse.Event) - Method in class playn.core.Mouse.MotionSlot
 
onEmit(Mouse.MotionEvent) - Method in class playn.core.Mouse.MotionSlot
 
onEmit(Mouse.Event) - Method in class playn.core.Mouse.WheelSlot
 
onEmit(Mouse.WheelEvent) - Method in class playn.core.Mouse.WheelSlot
 
onError(String) - Method in interface playn.core.Net.WebSocket.Listener
Reports that a web socket has encountered an error.
onOpen() - Method in interface playn.core.Net.WebSocket.Listener
Reports that a requested web socket is now open and ready for use.
onTextMessage(String) - Method in interface playn.core.Net.WebSocket.Listener
Reports that a text message has arrived on a web socket.
openURL(String) - Method in class playn.core.Platform
Opens the given URL in the default browser.
openURL(String) - Method in class playn.core.StubPlatform
 

P

paint - Variable in class playn.core.Game
A signal emitted on every frame.
paint(Clock) - Method in class playn.core.Game
Called on every frame.
parse(String) - Method in interface playn.core.Json
Parses the given JSON string into an Object that can be dynamically introspected.
parseArray(String) - Method in interface playn.core.Json
Parses the given JSON string into an Json.Array that can be dynamically introspected.
Path - Interface in playn.core
A path object created by Canvas.createPath().
path - Variable in class playn.core.Scale.ScaledResource
The path to the resource, including any scale factor annotation.
Pattern - Class in playn.core
A bitmap fill pattern created by Image.createPattern(boolean, boolean).
payload() - Method in class playn.core.Net.Response.Binary
 
payload() - Method in class playn.core.Net.Response
Returns the response payload as raw bytes.
payloadBytes - Variable in class playn.core.Net.Builder
 
payloadString - Variable in class playn.core.Net.Builder
 
payloadString() - Method in class playn.core.Net.Response.Binary
 
payloadString() - Method in class playn.core.Net.Response
Returns the response payload as a string, decoded using the character set specified in the response's content type.
PER_VERT_ATTRS - Static variable in class playn.core.TriangleBatch.Source
The varies-per-vert attribute variables for our shader.
pixelHeight() - Method in class playn.core.Image
Returns the height of this image in physical pixels.
pixelHeight - Variable in class playn.core.ImageImpl.Data
 
pixelHeight() - Method in class playn.core.ImageImpl
 
pixelHeight - Variable in class playn.core.Texture
The height of this texture in pixels.
pixelWidth() - Method in class playn.core.Image
Returns the width of this image in physical pixels.
pixelWidth - Variable in class playn.core.ImageImpl.Data
 
pixelWidth() - Method in class playn.core.ImageImpl
 
pixelWidth - Variable in class playn.core.Texture
The width of this texture in pixels.
plat - Variable in class playn.core.Game
The platform on which this game is running.
Platform - Class in playn.core
Provides access to all PlayN cross-platform services.
Platform() - Constructor for class playn.core.Platform
 
Platform.Error - Class in playn.core
Platform.Lifecycle - Enum in playn.core
Defines the lifecycle events.
Platform.Type - Enum in playn.core
Enumerates the supported platform types.
play() - Method in class playn.core.Sound
If possible, begin playback of this audio stream.
play() - Method in class playn.core.SoundImpl
 
playn.core - package playn.core
 
Pointer - Class in playn.core
Abstracts over Mouse and Touch input, providing a least-common-denominator API which tracks a single "pointer" with simple interactions.
Pointer(Platform) - Constructor for class playn.core.Pointer
 
Pointer.Event - Class in playn.core
Contains information on a pointer event.
Pointer.Event.Kind - Enum in playn.core
Enumerates the different kinds of pointer event.
popBatch(QuadBatch) - Method in class playn.core.Surface
Restores the batch that was in effect prior to a Surface.pushBatch(playn.core.QuadBatch) call.
positions - Variable in class playn.core.Gradient.Config
 
post(String, String) - Method in class playn.core.Net
Performs an HTTP POST request to the specified URL.
preConcatenate(AffineTransform) - Method in class playn.core.Surface
Pre-concatenates xf onto this surface's transform.
prepare() - Method in class playn.core.Sound
Prepares this sound to be played by preloading it into audio buffers.
prepare() - Method in class playn.core.SoundImpl
 
prepare(int, AffineTransform) - Method in class playn.core.TriangleBatch
Prepares to add primitives with the specified tint and transform.
prepare(int, float, float, float, float, float, float) - Method in class playn.core.TriangleBatch
pressure - Variable in class playn.core.Touch.Event
The pressure of the touch.
pushBatch(QuadBatch) - Method in class playn.core.Surface
Configures this surface to use batch, if non-null.
put(String, Object) - Method in interface playn.core.Json.Object
Inserts a JSON null, object, array or string value at the given key.

Q

QuadBatch - Class in playn.core
A batch which can render textured quads.
quadraticCurveTo(float, float, float, float) - Method in interface playn.core.Path
Adds a quadratic curve to the path, from the current position to the specified target, with the specified control point.
queueForDispose(Closeable) - Method in class playn.core.Graphics
Queues the supplied graphics resource for disposal on the next frame tick.

R

r - Variable in class playn.core.Gradient.Radial
 
Radial(float, float, float, int[], float[]) - Constructor for class playn.core.Gradient.Radial
 
red(int) - Static method in class playn.core.Color
Extracts the red component, in range [0, 255], from the given packed color.
reference() - Method in class playn.core.Texture
Increments this texture's reference count.
region(float, float, float, float) - Method in class playn.core.Image
Returns a region of this image which can be drawn independently.
Region() - Constructor for class playn.core.Image.Region
 
release() - Method in class playn.core.Sound
Releases resources used by this sound.
release() - Method in class playn.core.SoundImpl
 
release() - Method in class playn.core.Texture
Decrements this texture's reference count.
remove(int) - Method in interface playn.core.Json.Array
Removes a JSON value from the given index.
remove(String) - Method in interface playn.core.Json.Object
Removes a JSON value at the given key.
removeItem(String) - Method in class playn.core.BatchImpl
 
removeItem(String) - Method in interface playn.core.Storage.Batch
Adds an deletion to the batch.
removeItem(String) - Method in interface playn.core.Storage
Removes the item in the Storage associated with the specified key.
RenderTarget - Class in playn.core
Encapsulates an OpenGL render target (i.e.
RenderTarget(Graphics) - Constructor for class playn.core.RenderTarget
 
repeat(boolean, boolean) - Method in class playn.core.Texture.Config
Returns a copy of this config with repeatX, repeatY set as specified.
repeatX - Variable in class playn.core.Pattern
Whether this pattern repeats in the x-direction.
repeatX - Variable in class playn.core.Texture.Config
Whether texture is configured to repeat in this direction.
repeatY - Variable in class playn.core.Pattern
Whether this pattern repeats in the y-direction.
repeatY - Variable in class playn.core.Texture.Config
Whether texture is configured to repeat in this direction.
reportError(String, Throwable) - Method in class playn.core.Platform
Called when a backend (or other framework code) encounters an exception that it can recover from, but which it would like to report in some orderly fashion.
req(String) - Method in class playn.core.Net
Creates a builder for a request with the specified URL.
reset() - Method in interface playn.core.Path
Resets the current path, removing all strokes and moving the position to (0, 0).
resizeByteBuffer(int) - Method in class playn.core.GL20.Buffers
 
resizeFloatBuffer(int) - Method in class playn.core.GL20.Buffers
 
resizeIntBuffer(int) - Method in class playn.core.GL20.Buffers
 
resizeShortBuffer(int) - Method in class playn.core.GL20.Buffers
 
responseCode() - Method in class playn.core.Net.Response
Returns the HTTP response code provided by the server.
restore() - Method in class playn.core.Canvas
Restores the canvas's previous state.
restoreTx() - Method in class playn.core.Surface
Restores the transform previously stored by Surface.saveTx().
rgb(int, int, int) - Static method in class playn.core.Color
Creates a packed integer color from three RGB values in the range [0, 255].
rotate(float) - Method in class playn.core.Canvas
Rotates the current transformation matrix by the specified angle in radians.
rotate(float) - Method in class playn.core.Surface
Rotates the current transformation matrix by the specified angle in radians.

S

save() - Method in class playn.core.Canvas
The save and restore methods preserve and restore the state of the canvas, but not specific paths or graphics.
saveTx() - Method in class playn.core.Surface
Saves the current transform.
scale(float, float) - Method in class playn.core.Canvas
Scales the current transformation matrix by the specified amount.
scale() - Method in class playn.core.Graphics
Returns the display scale factor.
scale() - Method in class playn.core.Image
Returns the scale of resolution independent pixels to actual pixels for this image.
scale - Variable in class playn.core.ImageImpl.Data
 
scale() - Method in class playn.core.ImageImpl
 
Scale - Class in playn.core
Encapsulates a scale factor, provides useful utility methods.
Scale(float) - Constructor for class playn.core.Scale
 
scale - Variable in class playn.core.Scale.ScaledResource
The scale factor for this resource.
scale(float, float) - Method in class playn.core.Surface
Scales the current transformation matrix by the specified amount on each axis.
scale - Variable in class playn.core.Texture
The scale factor used by this texture.
Scale.ScaledResource - Class in playn.core
scaled(float) - Method in class playn.core.Scale
Returns the supplied length scaled by our scale factor.
scaledCeil(float) - Method in class playn.core.Scale
Returns the supplied length scaled by our scale factor and rounded up.
scaledFloor(float) - Method in class playn.core.Scale
Returns the supplied length scaled by our scale factor and rounded down.
ScaledResource(Scale, String) - Constructor for class playn.core.Scale.ScaledResource
 
screenSize() - Method in class playn.core.Graphics
Returns the size of the screen in display units.
send(String) - Method in interface playn.core.Net.WebSocket
Queues the supplied text message to be sent over the socket.
send(ByteBuffer) - Method in interface playn.core.Net.WebSocket
Queues the supplied binary message to be sent over the socket.
set(int, Object) - Method in interface playn.core.Json.Array
Sets a JSON boolean, null, number, object, or array value at the given index.
setAlpha(float) - Method in class playn.core.Canvas
Set the global alpha value to be used for all painting.
setAlpha(float) - Method in class playn.core.Surface
Set the alpha component of this surface's current tint.
setAlpha(int, float) - Static method in class playn.core.Tint
Sets the alpha component of tint to alpha.
setByteBuffer(byte[], int, int) - Method in class playn.core.GL20.Buffers
 
setCheckIntersection(boolean) - Method in class playn.core.Surface
Configures this surface to check the bounds of drawn Tiles to ensure that they intersect our visible bounds before adding them to our GPU batch.
setCollector(Log.Collector) - Method in class playn.core.Log
Configures a log message collector.
setCompositeOperation(Canvas.Composite) - Method in class playn.core.Canvas
Sets the Porter-Duff composite operation to be used for all painting.
setConfig(Texture.Config) - Method in class playn.core.Image
Sets the texture config used when creating this image's default texture.
setFillColor(int) - Method in class playn.core.Canvas
Sets the color to be used for fill operations.
setFillColor(int) - Method in class playn.core.Surface
Sets the color to be used for fill operations.
setFillGradient(Gradient) - Method in class playn.core.Canvas
Sets the gradient to be used for fill operations.
setFillPattern(Pattern) - Method in class playn.core.Canvas
Sets the pattern to be used for fill operations.
setFillPattern(Texture) - Method in class playn.core.Surface
Sets the texture to be used for fill operations.
setFlag(int) - Method in class playn.core.Event.Input
Sets the flag bit.
setFloatBuffer(float[], int, int) - Method in class playn.core.GL20.Buffers
 
setFloatBuffer(float) - Method in class playn.core.GL20.Buffers
 
setIntBuffer(int[], int, int) - Method in class playn.core.GL20.Buffers
 
setIntBuffer(int) - Method in class playn.core.GL20.Buffers
 
setItem(String, String) - Method in class playn.core.BatchImpl
 
setItem(String, String) - Method in interface playn.core.Storage.Batch
Adds an update to the batch.
setItem(String, String) - Method in interface playn.core.Storage
Sets the value associated with the specified key to data.
setLineCap(Canvas.LineCap) - Method in class playn.core.Canvas
Sets the line-cap mode for strokes.
setLineJoin(Canvas.LineJoin) - Method in class playn.core.Canvas
Sets the line-join mode for strokes.
setLooping(boolean) - Method in class playn.core.Sound
Set whether audio stream playback should be looped indefinitely or not.
setLooping(boolean) - Method in class playn.core.SoundImpl
 
setMinLevel(Log.Level) - Method in class playn.core.Log
Configures the minimum log level that will be logged.
setMiterLimit(float) - Method in class playn.core.Canvas
Sets the miter limit for strokes.
setMouseLocked(boolean) - Method in class playn.core.Input
Lock or unlock the mouse.
setPayload(String) - Method in class playn.core.Net.Builder
Configures the payload of this request as a UTF-8 string with content type "text/plain".
setPayload(String, String) - Method in class playn.core.Net.Builder
Configures the payload of this request as a UTF-8 string with content type configured as "contentType; charset=UTF-8".
setPayload(byte[]) - Method in class playn.core.Net.Builder
Configures the payload of this request as raw bytes with content type "application/octet-stream".
setPayload(byte[], String) - Method in class playn.core.Net.Builder
Configures the payload of this request as raw bytes with the specified content type.
setRgb(int, int, int, int, int[], int, int) - Method in class playn.core.Image
Sets pixel data for a rectangular area of this image.
setShortBuffer(short[], int, int) - Method in class playn.core.GL20.Buffers
 
setShortBuffer(short) - Method in class playn.core.GL20.Buffers
 
setStrokeColor(int) - Method in class playn.core.Canvas
Sets the color for strokes.
setStrokeWidth(float) - Method in class playn.core.Canvas
Sets the width for strokes, in pixels.
setTexture(Texture) - Method in class playn.core.TexturedBatch
Prepares this batch to render using the supplied texture.
setTint(int) - Method in class playn.core.Surface
Sets the tint to be applied to draw operations, as ARGB.
setVolume(float) - Method in class playn.core.Sound
 
setVolume(float) - Method in class playn.core.SoundImpl
 
shortBuffer - Variable in class playn.core.GL20.Buffers
 
size - Variable in class playn.core.Font
The point size of this font.
size - Variable in class playn.core.TextLayout
The size of the bounding box that contains all of the rendered text.
size - Variable in class playn.core.Touch.Event
The size of the touch.
snapshot() - Method in class playn.core.Canvas
Returns an immutable snapshot of the image that backs this canvas.
Sound - Class in playn.core
A single sound asset, which can be played, looped, etc.
Sound() - Constructor for class playn.core.Sound
Creates the sound of silence.
Sound.Error - Class in playn.core
Represents a sound that failed to load.
SoundImpl<I> - Class in playn.core
An implementation detail.
SoundImpl(Exec) - Constructor for class playn.core.SoundImpl
 
Source() - Constructor for class playn.core.TexturedBatch.Source
 
Source() - Constructor for class playn.core.TriangleBatch.Source
 
Source() - Constructor for class playn.core.UniformQuadBatch.Source
 
startBatch() - Method in interface playn.core.Storage
Creates a Storage.Batch that can be used to effect multiple changes to storage in a single, more efficient, operation.
startClipped(int, int, int, int) - Method in class playn.core.Surface
Starts a series of drawing commands that are clipped to the specified rectangle (in view coordinates, not OpenGL coordinates).
state - Variable in class playn.core.Image
Reports the asynchronous loading of this image.
state - Variable in class playn.core.Sound
Reports the asynchronous loading of this sound.
stop() - Method in class playn.core.Sound
Stop playback of the current audio stream as soon as possible, and reset the sound position to its starting position, such that a subsequent call to Sound.play() will cause the audio file to being playback from the beginning of the audio stream.
stop() - Method in class playn.core.SoundImpl
 
storage() - Method in class playn.core.Platform
Returns the Storage storage service.
Storage - Interface in playn.core
Stores settings in a key/value map.
storage() - Method in class playn.core.StubPlatform
 
Storage.Batch - Interface in playn.core
Represents a batch of edits to be applied to storage in one transaction.
stroke(Canvas, TextBlock.Align, float, float) - Method in class playn.core.TextBlock
Strokes lines into canvas at the specified coordinates, using the specified alignment.
strokeCircle(float, float, float) - Method in class playn.core.Canvas
Strokes a circle at the specified center and radius.
strokePath(Path) - Method in class playn.core.Canvas
Strokes the specified path.
strokeRect(float, float, float, float) - Method in class playn.core.Canvas
Strokes the specified rectangle.
strokeRoundRect(float, float, float, float, float) - Method in class playn.core.Canvas
Strokes the specified rounded rectangle.
strokeText(TextLayout, float, float) - Method in class playn.core.Canvas
Strokes the text at the specified location.
StubPlatform - Class in playn.core
A stub implementation of Platform that provides implementations of those services that can be usefully implemented for unit tests, and throws UnsupportedOperationException for the rest.
StubPlatform() - Constructor for class playn.core.StubPlatform
 
style - Variable in class playn.core.Font
The style of this font.
succeed(ImageImpl.Data) - Method in class playn.core.ImageImpl
Notifies this image that its implementation bitmap is available.
succeed(I) - Method in class playn.core.SoundImpl
Configures this sound with its platform implementation.
Surface - Class in playn.core
A surface provides a simple drawing API to a GPU accelerated render target.
Surface(Graphics, RenderTarget, QuadBatch) - Constructor for class playn.core.Surface
Creates a surface which will render to target using defaultBatch as its default quad renderer.
sx() - Method in class playn.core.Texture
 
sx() - Method in class playn.core.Tile
Returns the s texture coordinate for the x-axis.
sy() - Method in class playn.core.Texture
 
sy() - Method in class playn.core.Tile
Returns the s texture coordinate for the y-axis.
sysDialog(String, String, String, String) - Method in class playn.core.Input
Displays a system dialog with the specified title and text, an OK button and optionally a Cancel button.

T

text - Variable in class playn.core.TextLayout
The text that was laid out.
TextBlock - Class in playn.core
Encapsulates a block of multi-line text.
TextBlock(TextLayout[]) - Constructor for class playn.core.TextBlock
Creates a text block with the supplied lines.
TextBlock.Align - Enum in playn.core
Used to align a block of text.
TextFormat - Class in playn.core
Contains info for laying out and drawing single- or multi-line text to a Canvas.
TextFormat() - Constructor for class playn.core.TextFormat
Creates a default text format instance.
TextFormat(Font) - Constructor for class playn.core.TextFormat
Creates a text format instance with the specified font.
TextFormat(Font, boolean) - Constructor for class playn.core.TextFormat
Creates a configured text format instance.
TextLayout - Class in playn.core
Contains metrics and metadata for a laid out body of text.
texture() - Method in class playn.core.Image
Returns, creating if necessary, this image's default texture.
Texture - Class in playn.core
A handle to an OpenGL texture.
Texture(Graphics, int, Texture.Config, int, int, Scale, float, float) - Constructor for class playn.core.Texture
 
texture() - Method in class playn.core.Texture
 
texture - Variable in class playn.core.TextureSurface
The texture into which we're rendering.
texture() - Method in class playn.core.Tile
The texture which contains this tile.
Texture.Config - Class in playn.core
Used to configure texture at creation time.
textureAsync() - Method in class playn.core.Image
Returns a future which will deliver the default texture for this image once its loading has completed.
TexturedBatch - Class in playn.core
A batch that renders textured primitives.
TexturedBatch.Source - Class in playn.core
Provides some standard bits for a shader program that uses a tint and a texture.
TextureSurface - Class in playn.core
A Surface which renders to a Texture instead of to the default frame buffer.
TextureSurface(Graphics, QuadBatch, float, float) - Constructor for class playn.core.TextureSurface
Creates a texture surface which is width x height in display units.
TextureSurface(Graphics, QuadBatch, Texture) - Constructor for class playn.core.TextureSurface
Creates a texture surface which renders to texture.
textWidth() - Method in class playn.core.TextBlock
Returns the width of the rendered text.
TextWrap - Class in playn.core
Contains the configuration needed when wrapping text.
TextWrap(float) - Constructor for class playn.core.TextWrap
Creates a text wrap config with the specified width and no indent.
TextWrap(float, float) - Constructor for class playn.core.TextWrap
Creates a text wrap config with the specified width and indent.
tick - Variable in class playn.core.Clock
The number of milliseconds that have elapsed since time 0.
tick() - Method in class playn.core.Platform
Returns the number of milliseconds that have elapsed since the game started.
tick() - Method in class playn.core.StubPlatform
 
tile() - Method in class playn.core.Image
 
tile(IRectangle) - Method in class playn.core.Texture
Returns an instance that can be used to render a sub-region of this texture.
tile(float, float, float, float) - Method in class playn.core.Texture
Returns an instance that can be used to render a sub-region of this texture.
Tile - Class in playn.core
Represents a square region of a texture.
Tile() - Constructor for class playn.core.Tile
 
tile() - Method in class playn.core.Tile
 
tile() - Method in class playn.core.TileSource
Returns the tile provided by this source.
tileAsync() - Method in class playn.core.Image
 
tileAsync() - Method in class playn.core.Tile
 
tileAsync() - Method in class playn.core.TileSource
Delivers the tile provided by this source once the source is loaded.
TileSource - Class in playn.core
Provides a Tile, potentially asynchronously.
TileSource() - Constructor for class playn.core.TileSource
 
time - Variable in class playn.core.Event.Input
The time at which this event was generated, in milliseconds.
time() - Method in class playn.core.Platform
Returns the current time, as a double value in millis since January 1, 1970, 00:00:00 GMT.
time() - Method in class playn.core.StubPlatform
 
tint() - Method in class playn.core.Surface
Returns the currently configured tint.
Tint - Class in playn.core
Tinting related utility methods.
Tint() - Constructor for class playn.core.Tint
 
toCanvas(Graphics, TextBlock.Align, int) - Method in class playn.core.TextBlock
Creates a canvas image large enough to accommodate this text block and renders the lines into it.
toString() - Method in class playn.core.Event.Input
 
toString() - Method in class playn.core.Font
 
toString() - Method in exception playn.core.Net.HttpException
 
toString() - Method in class playn.core.RenderTarget
 
toString() - Method in class playn.core.Scale.ScaledResource
 
toString() - Method in class playn.core.Scale
 
toString() - Method in class playn.core.TextFormat
 
toString() - Method in class playn.core.Texture.Config
 
toString() - Method in class playn.core.Texture
 
toString() - Method in class playn.core.Tile
 
toString() - Method in class playn.core.TriangleBatch
 
toString() - Method in class playn.core.UniformQuadBatch
 
toTexHeight(int) - Method in class playn.core.Texture.Config
Returns sourceHeight rounded up to a POT if necessary.
toTexture() - Method in class playn.core.Canvas
Calls Canvas.toTexture(Texture.Config) with the default texture config.
toTexture(Texture.Config) - Method in class playn.core.Canvas
A helper function for creating a texture from this canvas's image, and then disposing this canvas.
toTexWidth(int) - Method in class playn.core.Texture.Config
Returns sourceWidth rounded up to a POT if necessary.
Touch - Class in playn.core
Defines and dispatches touch events.
Touch() - Constructor for class playn.core.Touch
 
Touch.Event - Class in playn.core
Contains information on a touch event.
Touch.Event.Kind - Enum in playn.core
Enumerates the different kinds of touch event.
touchEnabled - Variable in class playn.core.Input
Enables or disables touch interaction.
touchEvents - Variable in class playn.core.Input
A signal via which touch events are emitted.
transform(float, float, float, float, float, float) - Method in class playn.core.Canvas
Multiplies the current transformation matrix by the given matrix.
transform(Image.BitmapTransformer) - Method in class playn.core.Image
Generates a new image from this image's bitmap, using a transformer created for the platform in use.
transform(float, float, float, float, float, float) - Method in class playn.core.Surface
Multiplies the current transformation matrix by the given matrix.
translate(float, float) - Method in class playn.core.Canvas
Translates the current transformation matrix by the given amount.
translate(float, float) - Method in class playn.core.Surface
Translates the current transformation matrix by the given amount.
TriangleBatch - Class in playn.core
A batch which renders indexed triangles.
TriangleBatch(GL20) - Constructor for class playn.core.TriangleBatch
Creates a triangle batch with the default shader program.
TriangleBatch(GL20, TriangleBatch.Source) - Constructor for class playn.core.TriangleBatch
Creates a triangle batch with the supplied custom shader program.
TriangleBatch.Source - Class in playn.core
The source for the stock triangle batch shader program.
tx() - Method in class playn.core.Surface
Returns the current transform.
tx() - Method in class playn.core.Texture
 
tx() - Method in class playn.core.Tile
Returns the t texture coordinate for the x-axis.
ty() - Method in class playn.core.Texture
 
ty() - Method in class playn.core.Tile
Returns the t texture coordinate for the y-axis.
type() - Method in class playn.core.Platform
Returns the platform Platform.Type.
type() - Method in class playn.core.StubPlatform
 
typedChar - Variable in class playn.core.Keyboard.TypedEvent
The character typed to trigger this event, e.g.
TypedEvent(int, double, char) - Constructor for class playn.core.Keyboard.TypedEvent
 
TypedSlot() - Constructor for class playn.core.Keyboard.TypedSlot
 

U

UniformQuadBatch - Class in playn.core
A batch which renders quads by stuffing them into a big(ish) GLSL uniform variable.
UniformQuadBatch(GL20) - Constructor for class playn.core.UniformQuadBatch
Creates a uniform quad batch with the default shader programs.
UniformQuadBatch(GL20, UniformQuadBatch.Source) - Constructor for class playn.core.UniformQuadBatch
Creates a uniform quad batch with the supplied custom shader program builder.
UniformQuadBatch.Source - Class in playn.core
The source for the stock quad batch shader program.
UNMANAGED - Static variable in class playn.core.Texture.Config
Default unmanaged texture configuration: unmanaged, no mipmaps, no repat, linear filters.
update - Variable in class playn.core.Game
A signal emitted on every simulation update.
update(Clock) - Method in class playn.core.Game
Called on every simulation update.
update(Image) - Method in class playn.core.Texture
Uploads image to this texture's GPU memory.
updateFlag(int, boolean) - Method in class playn.core.Event.Input
Sets or clears flag based on on.
updateTexture() - Method in class playn.core.Image
Updates this image's default texture with the current contents of the image, and returns the texture.
url - Variable in class playn.core.Net.Builder
 
useVerboseFormat(boolean) - Method in interface playn.core.Json.Writer
Tells the writer whether to use a verbose, more human-readable String representation.
Util() - Constructor for class playn.core.Json.TypedArray.Util
 

V

value - Variable in class playn.core.Net.Header
 
valueOf(String) - Static method in enum playn.core.Canvas.Composite
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum playn.core.Canvas.LineCap
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum playn.core.Canvas.LineJoin
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum playn.core.Font.Style
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum playn.core.Key
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum playn.core.Keyboard.TextType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum playn.core.Log.Level
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum playn.core.Mouse.ButtonEvent.Id
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum playn.core.Platform.Lifecycle
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum playn.core.Platform.Type
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum playn.core.Pointer.Event.Kind
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum playn.core.TextBlock.Align
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum playn.core.Touch.Event.Kind
Returns the enum constant of this type with the specified name.
values() - Static method in enum playn.core.Canvas.Composite
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum playn.core.Canvas.LineCap
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum playn.core.Canvas.LineJoin
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum playn.core.Font.Style
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum playn.core.Key
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum playn.core.Keyboard.TextType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum playn.core.Log.Level
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum playn.core.Mouse.ButtonEvent.Id
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum playn.core.Platform.Lifecycle
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum playn.core.Platform.Type
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum playn.core.Pointer.Event.Kind
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum playn.core.TextBlock.Align
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum playn.core.Touch.Event.Kind
Returns an array containing the constants of this enum type, in the order they are declared.
velocity - Variable in class playn.core.Mouse.WheelEvent
The velocity of the scroll wheel.
VERT_ATTRS - Static variable in class playn.core.TriangleBatch.Source
The same-for-all-verts-in-a-quad attribute variables for our shader.
VERT_ATTRS - Static variable in class playn.core.UniformQuadBatch.Source
Declares the attribute variables for our shader.
VERT_EXTRACTDATA - Static variable in class playn.core.UniformQuadBatch.Source
Extracts the values from our data buffer.
VERT_SETCOLOR - Static variable in class playn.core.TriangleBatch.Source
The shader code that computes v_Color.
VERT_SETCOLOR - Static variable in class playn.core.UniformQuadBatch.Source
The shader code that computes v_Color.
VERT_SETPOS - Static variable in class playn.core.TriangleBatch.Source
The shader code that computes gl_Position.
VERT_SETPOS - Static variable in class playn.core.UniformQuadBatch.Source
The shader code that computes gl_Position.
VERT_SETTEX - Static variable in class playn.core.TriangleBatch.Source
The shader code that computes v_TexCoord.
VERT_SETTEX - Static variable in class playn.core.UniformQuadBatch.Source
The shader code that computes v_TexCoord.
VERT_UNIFS - Static variable in class playn.core.TriangleBatch.Source
Declares the uniform variables for our shader.
VERT_UNIFS - Static variable in class playn.core.UniformQuadBatch.Source
Declares the uniform variables for our shader.
VERT_VARS - Static variable in class playn.core.TriangleBatch.Source
Declares the varying variables for our shader.
VERT_VARS - Static variable in class playn.core.UniformQuadBatch.Source
Declares the varying variables for our shader.
vertex() - Method in class playn.core.TriangleBatch.Source
Returns the source of the vertex shader program.
vertex(UniformQuadBatch) - Method in class playn.core.UniformQuadBatch.Source
Returns the source to the vertex shader program.
viewSize - Variable in class playn.core.Graphics
The current size of the graphics viewport.
volume() - Method in class playn.core.Sound
 
volume() - Method in class playn.core.SoundImpl
 

W

warn(String) - Method in class playn.core.Log
Logs msg at the warn level.
warn(String, Object...) - Method in class playn.core.Log
Logs msg at the warn level.
warn(String, Throwable) - Method in class playn.core.Log
Logs msg and e at the warn level.
WheelEvent(int, double, float, float, float) - Constructor for class playn.core.Mouse.WheelEvent
 
WheelSlot() - Constructor for class playn.core.Mouse.WheelSlot
 
width() - Method in interface playn.core.Canvas.Drawable
 
width - Variable in class playn.core.Canvas
The width of this canvas.
width() - Method in class playn.core.Image
This image's width in display units.
width() - Method in class playn.core.RenderTarget
The width of the framebuffer in pixels.
width() - Method in class playn.core.Texture
 
width - Variable in class playn.core.TextWrap
The width at which the text is wrapped.
width() - Method in class playn.core.Tile
The width of this tile (in display units).
withAlpha(int, int) - Static method in class playn.core.Color
Returns a new color that's a copy of the given color, but with the new alpha value, in range [0, 255].
withAntialias(boolean) - Method in class playn.core.TextFormat
Returns a clone of this text format with TextFormat.antialias configured as specified.
withFont(Font) - Method in class playn.core.TextFormat
Returns a clone of this text format with the font configured as specified.
withFont(String, Font.Style, float) - Method in class playn.core.TextFormat
Returns a clone of this text format with the font configured as specified.
withFont(String, float) - Method in class playn.core.TextFormat
Returns a clone of this text format with the font configured as specified.
write(JsonSink<T>) - Method in interface playn.core.Json.Array
Writes this object to a JsonSink.
write(JsonSink<T>) - Method in interface playn.core.Json.Object
Writes this object to a JsonSink.
write() - Method in interface playn.core.Json.Writer
Completes this JSON writing session and returns the internal representation as a String.

X

x - Variable in class playn.core.Event.XY
The screen x-coordinate associated with this event.
x() - Method in class playn.core.Event.XY
 
x - Variable in class playn.core.Gradient.Radial
 
x0 - Variable in class playn.core.Gradient.Linear
 
x1 - Variable in class playn.core.Gradient.Linear
 
xscale() - Method in class playn.core.RenderTarget
The x-scale between display units and pixels for this target.

Y

y - Variable in class playn.core.Event.XY
The screen y-coordinate associated with this event.
y() - Method in class playn.core.Event.XY
 
y - Variable in class playn.core.Gradient.Radial
 
y0 - Variable in class playn.core.Gradient.Linear
 
y1 - Variable in class playn.core.Gradient.Linear
 
yscale() - Method in class playn.core.RenderTarget
The y-scale between display units and pixels for this target.
A B C D E F G H I J K L M N O P Q R S T U V W X Y 
Skip navigation links

Copyright © 2017. All Rights Reserved.