Documentation
¶
Index ¶
- type Context
- type Guide
- func (g Guide) Bottom() float64
- func (g Guide) CenterX() float64
- func (g Guide) CenterY() float64
- func (g Guide) Fit(ctx *Context) Guide
- func (g Guide) Height() float64
- func (g Guide) Left() float64
- func (g Guide) MarshalProtobuf() *pb.Guide
- func (g Guide) Right() float64
- func (g Guide) Top() float64
- func (g Guide) Width() float64
- type Insets
- type Layouter
- type Point
- type PointNotifier
- type Rect
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Context ¶
type Guide ¶
func (Guide) Fit ¶
Fit adjusts the frame of the guide to be within MinSize and MaxSize of the LayoutContext.
func (Guide) MarshalProtobuf ¶
type Insets ¶
func (*Insets) MarshalProtobuf ¶
type PointNotifier ¶
type Rect ¶
type Rect struct {
Min, Max Point
}
func (*Rect) MarshalProtobuf ¶
func (*Rect) UnmarshalProtobuf ¶
Directories
¶
Path | Synopsis |
---|---|
Package absolute implements a fixed layout system similar to HTML absolute positioning.
|
Package absolute implements a fixed layout system similar to HTML absolute positioning. |
Package constraint implements a constraint-based layout system.
|
Package constraint implements a constraint-based layout system. |
Package full implements a layout system where the view and all direct children are positioned to the maximum size.
|
Package full implements a layout system where the view and all direct children are positioned to the maximum size. |
Package table implements a vertical, single column layout system.
|
Package table implements a vertical, single column layout system. |
Click to show internal directories.
Click to hide internal directories.