| Interface | Description |
|---|---|
| Canvas.Drawable |
Facilitates drawing images and image regions to a canvas.
|
| Image.BitmapTransformer | |
| Json |
PlayN JSON parsing and serialization interface.
|
| Json.Array |
Represents a parsed JSON array as a simple
int->value map. |
| Json.Object |
Represents a parsed JSON object as a simple
string->value map. |
| Json.TypedArray<T> |
A JSON array that assumes all values are of a uniform JSON type.
|
| Json.Writer |
A
JsonSink that writes JSON to a string. |
| Log.Collector |
Allows for collection of log messages (in addition to standard logging).
|
| Net.WebSocket |
Encapsulates a web socket.
|
| Net.WebSocket.Listener |
Notifies game of web socket events.
|
| Path |
A path object created by
Canvas.createPath(). |
| Storage |
Stores settings in a key/value map.
|
| Storage.Batch |
Represents a batch of edits to be applied to storage in one transaction.
|
| Class | Description |
|---|---|
| Assets |
Fetches and returns assets.
|
| Audio |
Provides audio services, of which there are presently none.
|
| BatchImpl | |
| Canvas |
A 2D drawing canvas.
|
| Clock |
Encapsulates an absolute and delta time.
|
| Color |
Utility methods for working with packed-integer colors.
|
| Event |
Defines an event abstraction used in various places in PlayN.
|
| Event.Input |
The base for all input events.
|
| Event.XY |
The base for all input events with a screen position.
|
| Exec |
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.Default |
A default exec implementation which processes
Exec.Default.invokeLater(java.lang.Runnable) via the frame tick. |
| Font |
Contains metadata for a font.
|
| Game |
Defines a simple game API.
|
| GL20 |
Interface and values for OpenGL ES 2.0, based on the official JOGL GL2ES2 interface.
|
| GL20.Buffers |
A helper class for bridging between Java arrays and buffers when implementing
GL20. |
| GLBatch |
A batch manages the delivery of groups of drawing calls to the GPU.
|
| GLProgram |
Encapsulates a GL vertex and fragment shader program pair.
|
| GLUtil | |
| Gradient |
A gradient fill pattern created by
Canvas.createGradient(playn.core.Gradient.Config). |
| Gradient.Config |
Used to create gradients.
|
| Gradient.Linear |
Creates a linear gradient fill pattern.
|
| Gradient.Radial |
Creates a radial gradient fill pattern.
|
| Graphics |
Provides access to graphics information and services.
|
| Image |
Bitmapped image data.
|
| Image.Region | |
| ImageImpl |
An implementation detail.
|
| ImageImpl.Data |
Used to provide bitmap data to the abstract image once it's ready.
|
| Input |
Provides information about user input: mouse, touch, and keyboard.
|
| Json.TypedArray.Util |
Contains utility methods for creating typed arrays to supply as the default when fetching
optional typed arrays from your JSON model.
|
| Keyboard |
Defines and dispatches keyboard events.
|
| Keyboard.Event |
The base class for all keyboard events.
|
| Keyboard.KeyEvent |
An event dispatched for key press/release.
|
| Keyboard.KeySlot |
A slot which only dispatches on
Keyboard.KeyEvents. |
| Keyboard.TypedEvent |
An event dispatched when a printable character is typed.
|
| Keyboard.TypedSlot |
A slot which only dispatches on
Keyboard.TypedEvents. |
| Log |
Simple PlayN logging interface.
|
| Mouse |
Defines and dispatches mouse events.
|
| Mouse.ButtonEvent |
The event dispatched for mouse input.
|
| Mouse.ButtonSlot |
A slot which only dispatches on
Mouse.ButtonEvents. |
| Mouse.Event |
The base class for all mouse events.
|
| Mouse.MotionEvent |
An event dispatched when the mouse is moved.
|
| Mouse.MotionSlot |
A slot which only dispatches on
Mouse.MotionEvents. |
| Mouse.WheelEvent |
An event dispatched when the mouse wheel is scrolled.
|
| Mouse.WheelSlot |
A slot which only dispatches on
Mouse.WheelEvents. |
| Net |
PlayN network interface.
|
| Net.Header |
Contains data for an HTTP header.
|
| Net.Response |
Communicates an HTTP response to the caller.
|
| Net.Response.Binary |
Used to deliver binary response data.
|
| Pattern |
A bitmap fill pattern created by
Image.createPattern(boolean, boolean). |
| Platform |
Provides access to all PlayN cross-platform services.
|
| Platform.Error | |
| Pointer | |
| Pointer.Event |
Contains information on a pointer event.
|
| QuadBatch |
A batch which can render textured quads.
|
| RenderTarget |
Encapsulates an OpenGL render target (i.e.
|
| Scale |
Encapsulates a scale factor, provides useful utility methods.
|
| Scale.ScaledResource | |
| Sound |
A single sound asset, which can be played, looped, etc.
|
| Sound.Error |
Represents a sound that failed to load.
|
| SoundImpl<I> |
An implementation detail.
|
| StubPlatform |
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. |
| Surface |
A surface provides a simple drawing API to a GPU accelerated render target.
|
| TextBlock |
Encapsulates a block of multi-line text.
|
| TextFormat |
Contains info for laying out and drawing single- or multi-line text to a
Canvas. |
| TextLayout |
Contains metrics and metadata for a laid out body of text.
|
| Texture |
A handle to an OpenGL texture.
|
| Texture.Config |
Used to configure texture at creation time.
|
| TexturedBatch |
A batch that renders textured primitives.
|
| TexturedBatch.Source |
Provides some standard bits for a shader program that uses a tint and a texture.
|
| TextureSurface | |
| TextWrap |
Contains the configuration needed when wrapping text.
|
| Tile |
Represents a square region of a texture.
|
| TileSource |
Provides a
Tile, potentially asynchronously. |
| Tint |
Tinting related utility methods.
|
| Touch |
Defines and dispatches touch events.
|
| Touch.Event |
Contains information on a touch event.
|
| TriangleBatch |
A batch which renders indexed triangles.
|
| TriangleBatch.Source |
The source for the stock triangle batch shader program.
|
| UniformQuadBatch |
A batch which renders quads by stuffing them into a big(ish) GLSL uniform variable.
|
| UniformQuadBatch.Source |
The source for the stock quad batch shader program.
|
| Enum | Description |
|---|---|
| Canvas.Composite |
Values that may be used with
Canvas.setCompositeOperation(Composite). |
| Canvas.LineCap |
Values that may be used with
Canvas.setLineCap(LineCap). |
| Canvas.LineJoin |
Values that may be used with
Canvas.setLineJoin(LineJoin). |
| Font.Style |
The styles that may be requested for a given font.
|
| Graphics.Orientation |
Enumerates simplified device orientations.
|
| Graphics.OrientationDetail |
Enumerates detailed device orientations.
|
| Key |
Enumerates all possible keys that may be encountered on all platforms.
|
| Keyboard.TextType |
Enumerates the different available mobile keyboard types.
|
| Log.Level |
Tags a log message with a level.
|
| Mouse.ButtonEvent.Id |
Enumerates the supported mouse buttons.
|
| Platform.Lifecycle |
Defines the lifecycle events.
|
| Platform.Type |
Enumerates the supported platform types.
|
| Pointer.Event.Kind |
Enumerates the different kinds of pointer event.
|
| TextBlock.Align |
Used to align a block of text.
|
| Touch.Event.Kind |
Enumerates the different kinds of touch event.
|
| Exception | Description |
|---|---|
| Net.HttpException |
Used to report HTTP error responses by
Net.get(java.lang.String) and Net.post(java.lang.String, java.lang.String). |
Copyright © 2018. All Rights Reserved.