Margin

fun Margin(all: Float)

Margin configuration.

Parameters

all

Value to apply to all margins (top, right, bottom e left).


fun Margin(vertical: Float, horizontal: Float)

Margin configuration.

Parameters

vertical

Value for the top and bottom margin.

horizontal

Value for the right and left margin.


fun Margin(    top: Float,     right: Float,     bottom: Float,     left: Float)

Parameters

top

Top margin.

right

Right margin.

bottom

Bottom margin.

left

Left margin.