Skip to main content

padding_insets

Function padding_insets 

Source
pub fn padding_insets(view: &ViewHandle, insets: EdgeInsets) -> ViewHandle
Expand description

.padding(_: EdgeInsets) — a different inset per edge.

padding_set takes one length for a set of edges; this takes four. The insets go in d0–d3, being a homogeneous float aggregate.