Documentation ¶
Index ¶
- func Enum[T constraints.Integer](opts ...rune) func(rune) (T, error)
- type Grid
- type Pos
- type Rectangle
- func (r Rectangle) Add(p Pos) Rectangle
- func (r Rectangle) Canon() Rectangle
- func (r Rectangle) Contains(p Pos) bool
- func (r Rectangle) Empty() bool
- func (r Rectangle) Eq(s Rectangle) bool
- func (r Rectangle) Height() int
- func (r Rectangle) Hull(s Rectangle) Rectangle
- func (r Rectangle) In(s Rectangle) bool
- func (r Rectangle) Inset(n int) Rectangle
- func (r Rectangle) Intersect(s Rectangle) Rectangle
- func (r Rectangle) Overlaps(s Rectangle) bool
- func (r Rectangle) Width() int
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.