类型 MessageScrollerGeometry

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

type MessageScrollerGeometry struct {
	Bounds      ui.Rect
	Viewport    ui.Rect
	Content     ui.Rect
	Track       ui.Rect
	Thumb       ui.Rect
	StartButton ui.Rect
	EndButton   ui.Rect
	Offset      float32
	MaxOffset   float32
	CanStart    bool
	CanEnd      bool
}

MessageScrollerGeometry exposes the translated content, scrollbar thumb, and both stable button bounds for an externally controlled message stream.