Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Background ¶
type Background struct {
Color string `json:"color"`
Rounded float64 `json:"rounded"`
Stroke string `json:"stroke,omitempty"`
Dashed string `json:"dashed,omitempty"` // "cornered", "circular", "full", "none"
Border float64 `json:"border,omitempty"` // border thickness
}
func (Background) DashArray ¶
func (bg Background) DashArray(canvasSize float64) float64
func (Background) DashOffset ¶
func (bg Background) DashOffset(canvasSize float64) float64
func (Background) Perimeter ¶
func (bg Background) Perimeter(canvasSize float64) float64
func (Background) Side ¶
func (bg Background) Side(canvasSize float64) float64
Click to show internal directories.
Click to hide internal directories.