withPadding

actual fun withPadding(all: Int): TextTextureImageSourceBuilder

Will build a texture source containing text with given padding, equal on all sides.


actual fun withPadding(horizontal: Int, vertical: Int): TextTextureImageSourceBuilder

Will build a texture source containing text with given horizontal and vertical padding.


actual fun withPadding(    left: Int,     top: Int,     right: Int,     bottom: Int): TextTextureImageSourceBuilder

Will build a texture source containing text with given left, top, right and bottom padding.

expect fun withPadding(all: Int): TextTextureImageSourceBuilder

Will build a texture source containing text with given padding, equal on all sides.


expect fun withPadding(horizontal: Int = 0, vertical: Int = 0): TextTextureImageSourceBuilder

Will build a texture source containing text with given horizontal and vertical padding.


expect fun withPadding(    left: Int = 0,     top: Int = 0,     right: Int = 0,     bottom: Int = 0): TextTextureImageSourceBuilder

Will build a texture source containing text with given left, top, right and bottom padding.

actual fun withPadding(all: Int): TextTextureImageSourceBuilder

Will build a texture source containing text with given padding, equal on all sides.


actual fun withPadding(horizontal: Int, vertical: Int): TextTextureImageSourceBuilder

Will build a texture source containing text with given horizontal and vertical padding.


actual fun withPadding(    left: Int,     top: Int,     right: Int,     bottom: Int): TextTextureImageSourceBuilder

Will build a texture source containing text with given left, top, right and bottom padding.