getOffset

abstract fun getOffset(width: Int, height: Int): Vector2ic

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