widthDip

fun widthDip(edge: YogaEdge, @Dimension(unit = 0) width: Float): Border.Builder

Specifies a width for a specific edge

Note: Having a border effect with varying widths per edge is currently not supported

Parameters

edge

The YogaEdge that will have its width modified

width

The desired width in density independent pixels