Custom

class Custom(offset: Vector2ic) : GuiTextureAlignment

A custom alignment with a fixed offset.

Constructors

Link copied to clipboard
constructor(offset: Vector2ic)

Functions

Link copied to clipboard
open override fun getOffset(width: Int, height: Int): Vector2ic

Returns the offset based on the width and height of the gui texture.