类型 SliderGeometry

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

type SliderGeometry struct {
	Bounds     ui.Rect
	Track      ui.Rect
	Active     ui.Rect
	Thumb      ui.Rect
	Value      float32
	ThumbCount int
}

SliderGeometry describes the common geometry painted for one slider. Thumb is the first thumb for single-value convenience; ThumbCount reports all thumbs available through ThumbBounds.