Interface PixiBridge
- All Superinterfaces:
org.teavm.jso.JSObject
public interface PixiBridge
extends org.teavm.jso.JSObject
TeaVM interface for the
pixi-bridge.js
JavaScript implementation.
Includes TeaVM stubs for PixiJS classes.-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
static interface
static interface
static interface
-
Method Summary
Modifier and TypeMethodDescriptionvoid
changeBackgroundColor
(int backgroundColor) createSprite
(PixiBridge.PixiTexture texture) createText
(String family, float size, boolean bold, String align, float lineHeight, int color) createTexture
(String id, org.teavm.jso.canvas.CanvasImageSource image, float regionX, float regionY, float regionWidth, float regionHeight) void
init()
Methods inherited from interface org.teavm.jso.JSObject
cast
-
Method Details
-
init
void init() -
getPixiApp
PixiBridge.PixiApplication getPixiApp() -
getRootContainer
PixiBridge.PixiDisplayObject getRootContainer() -
changeBackgroundColor
void changeBackgroundColor(int backgroundColor) -
createContainer
PixiBridge.PixiDisplayObject createContainer() -
createTexture
PixiBridge.PixiTexture createTexture(String id, org.teavm.jso.canvas.CanvasImageSource image, float regionX, float regionY, float regionWidth, float regionHeight) -
createSprite
-
createGraphics
PixiBridge.PixiDisplayObject createGraphics() -
createText
PixiBridge.PixiDisplayObject createText(String family, float size, boolean bold, String align, float lineHeight, int color)
-