Documentation ¶
Index ¶
- Variables
- type Fill
- type Grid
- type Scale
- type Style
- func (s Style) Fill() fills.FillSpec
- func (s Style) Grid() grids.GridSpec
- func (s Style) Height() uint
- func (s Style) Load(style string) (Style, error)
- func (s Style) Name() string
- func (s Style) Padding() int
- func (s Style) Renderer() renderers.Renderer
- func (s Style) Scale() Scale
- func (s Style) Width() uint
- func (s Style) WithFill(fill Fill) Style
- func (s Style) WithGrid(grid Grid) Style
- func (s Style) WithHeight(height uint) Style
- func (s Style) WithPadding(padding int) Style
- func (s Style) WithScale(scale Scale) Style
- func (s Style) WithWidth(width uint) Style
Constants ¶
This section is empty.
Variables ¶
View Source
var BLACK = color.NRGBA{R: 0x00, G: 0x00, B: 0x00, A: 0xff}
View Source
var GREEN = color.NRGBA{R: 0x00, G: 0x80, B: 0x00, A: 0xff}
Functions ¶
This section is empty.
Types ¶
type Fill ¶
type Grid ¶
type Style ¶
type Style struct {
// contains filtered or unexported fields
}
func (Style) WithHeight ¶
func (Style) WithPadding ¶
Click to show internal directories.
Click to hide internal directories.