Type Insets

type Insets struct {
	Top    float32
	Right  float32
	Bottom float32
	Left   float32
}

Insets describe uniform per-edge padding in logical pixels.

Constructors

All#

func All(value float32) Insets

All returns insets with the same value on every edge.