Documentation ¶
Index ¶
- func Grid(spec GridSpec, width, height, padding int) *image.NRGBA
- type Fit
- type GridSpec
- type NoGrid
- type RectangularGrid
- func (g RectangularGrid) Border(bounds image.Rectangle, padding int) *image.Rectangle
- func (g RectangularGrid) Colour() color.NRGBA
- func (g RectangularGrid) HLines(bounds image.Rectangle, padding int) []int
- func (g RectangularGrid) Overlay() bool
- func (g RectangularGrid) VLines(bounds image.Rectangle, padding int) []int
- type SquareGrid
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type GridSpec ¶
type RectangularGrid ¶
type RectangularGrid struct {
// contains filtered or unexported fields
}
func NewRectangularGrid ¶
func (RectangularGrid) Colour ¶
func (g RectangularGrid) Colour() color.NRGBA
func (RectangularGrid) HLines ¶
func (g RectangularGrid) HLines(bounds image.Rectangle, padding int) []int
func (RectangularGrid) Overlay ¶
func (g RectangularGrid) Overlay() bool
type SquareGrid ¶
type SquareGrid struct {
// contains filtered or unexported fields
}
func NewSquareGrid ¶
func (SquareGrid) Colour ¶
func (g SquareGrid) Colour() color.NRGBA
func (SquareGrid) Overlay ¶
func (g SquareGrid) Overlay() bool
Click to show internal directories.
Click to hide internal directories.