file: Texture.aus

class: Texture

[21:7] extends: ImageView

Wraps FXGL's Texture, an ImageView subclass that adds common image-processing operations (subTexture, super-tile composition, grayscale, invert, brighter / darker, transparentColor, blend, outline). Aussom users typically obtain a Texture via fxgl.getAssetLoader().loadTexture(name) in chunk 6; this wrapper exposes direct construction from a JavaFX Image plus the most-used transforms. Because Texture extends ImageView, every wrapper here can be added to a scene through the existing fx.ImageView pattern (via .obj on a compatible Aussom wrapper).

Methods