widthPx

fun widthPx(edge: YogaEdge, @Px width: Int): 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 raw pixels