Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Annotation ¶
type Annotation struct { Type AnnoType Start chess.Square End chess.Square // only for arrows Color color.NRGBA Width union.Size // contains filtered or unexported fields }
func (*Annotation) Copy ¶
func (a *Annotation) Copy() Annotation
func (*Annotation) Equal ¶
func (a *Annotation) Equal(b *Annotation) bool
func (*Annotation) Scale ¶
func (a *Annotation) Scale(factor float32)
type Config ¶
type Coordinates ¶
type Coordinates int8
const ( NoCoordinates Coordinates = iota InsideCoordinates OutsideCoordinates EachSquare )
type CoordinatesStyle ¶
type CoordinatesStyle struct { Type Coordinates Theme *material.Theme FontSize float32 Flipped bool Board layout.Widget }
func (CoordinatesStyle) Layout ¶
func (s CoordinatesStyle) Layout(gtx layout.Context) layout.Dimensions
type Promotion ¶
type Widget ¶
type Widget struct {
// contains filtered or unexported fields
}
func (*Widget) MoveBackward ¶
func (w *Widget) MoveBackward()
func (*Widget) PositionChanged ¶
Click to show internal directories.
Click to hide internal directories.