类型 Insets

API 文档由 Go 源码生成,内容为英文。

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

Insets describe uniform per-edge padding in logical pixels.

构造函数

All#

func All(value float32) Insets

All returns insets with the same value on every edge.