Texture
A bitmap graphic.
Texture extends Image, so that the whole texture can be drawn to the screen.
However, textures often consist of many individual pictures (such as icons), and each small picture is an Image using PartialTexture.
Inheritors
Properties
Functions
Link copied to clipboard
Link copied to clipboard
The ratio of the imageWidth to the imageHeight.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun drawToBatched(batch: TextureBatch, x: Float, y: Float, destWidth: Float, destHeight: Float)
The same as the other drawTo, but using a TextureBatch for efficiency.
Link copied to clipboard
Link copied to clipboard
Returns an ObservableOptionalImage whose value is a scaled version of this image, scaled such that width and height are at most sizeProperty.value.
Link copied to clipboard