End#
func (direction Direction) End(bounds ui.Rect, size float32) ui.RectEnd returns a strip at logical inline-end.
API 文档由 Go 源码生成,内容为英文。
type Direction uint8Direction is an explicit local inline-flow direction. The zero value and unknown values resolve to LTR; no platform or process-global state is read or changed.
End#func (direction Direction) End(bounds ui.Rect, size float32) ui.RectEnd returns a strip at logical inline-end.
InlineDelta#func (direction Direction) InlineDelta(delta float32) float32InlineDelta converts a logical positive movement toward inline-end into a physical x delta.
Inset#func (direction Direction) Inset(bounds ui.Rect, insets LogicalInsets) ui.RectInset resolves logical insets and clamps an over-constrained result to an empty physical rectangle.
IsRTL#func (direction Direction) IsRTL() boolIsRTL reports whether logical inline-start is the physical right edge.
Rect#func (direction Direction) Rect(container ui.Rect, logical LogicalRect) ui.RectRect resolves logical geometry inside a physical containing rectangle.
Start#func (direction Direction) Start(bounds ui.Rect, size float32) ui.RectStart returns a strip at logical inline-start.
VisualIndex#func (direction Direction) VisualIndex(logicalIndex, count int) intVisualIndex maps a logical index to its physical order. Out-of-range inputs return -1 rather than silently wrapping.