类型 CarouselGeometry
API 文档由 Go 源码生成,内容为英文。
type CarouselGeometry struct {
Bounds ui.Rect
Viewport ui.Rect
Content ui.Rect
PreviousButton ui.Rect
NextButton ui.Rect
Offset float32
MaxOffset float32
Index int
ItemCount int
CanPrevious bool
CanNext bool
}CarouselGeometry exposes the full externally controlled carousel layout.