Documentation ¶
Index ¶
- Variables
- type ColorType
- type Config
- type Palette
- func (p *Palette) BoxAlign() image.Point
- func (p *Palette) BoxOffset() image.Point
- func (p *Palette) BoxWidth(level int) int
- func (p *Palette) Color(c ColorType) color.Color
- func (p *Palette) Columns() int
- func (p *Palette) CursorSize() image.Point
- func (p *Palette) DefaultAppRect() image.Rectangle
- func (p *Palette) DefaultFont() *impress.Font
- func (p *Palette) FontClose()
- func (p *Palette) FontLink(app *impress.Application)
- func (p *Palette) TextAlign() image.Point
- func (p *Palette) TextLineOffset() int
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Window configWindow `json:"window"` Boxes configBoxes `json:"boxes"` Dialogs configDialogs `json:"dialogs"` Fonts configFonts `json:"fonts"` }
type Palette ¶
type Palette struct {
// contains filtered or unexported fields
}
func NewPalette ¶
func NewPalette() *Palette
func (*Palette) BoxAlign ¶ added in v0.2.3
BoxAlign returns space from application edge and any map node border
func (*Palette) CursorSize ¶
CursorSize returns cursor size
func (*Palette) DefaultAppRect ¶
func (*Palette) DefaultFont ¶
DefaultFont returns default font
func (*Palette) FontLink ¶ added in v0.2.3
func (p *Palette) FontLink(app *impress.Application)
func (*Palette) TextAlign ¶ added in v0.2.3
TextAlign returns space from border to text for a map node
func (*Palette) TextLineOffset ¶
TextLineOffset returns extra space between two text line for a map node
Click to show internal directories.
Click to hide internal directories.