setPadding

set padding for the text

Return

this

Parameters

all

padding in pixels, for all sides


fun setPadding(left: Float = 0.0f, top: Float = 0.0f, right: Float = 0.0f, bottom: Float = 0.0f): TextBlock

set padding for the text

Return

this

Parameters

left

left padding in pixels

top

left padding in pixels

right

left padding in pixels

bottom

left padding in pixels