Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Color ¶
type Color struct {
Red float64 `json:"r"`
Green float64 `json:"g"`
Blue float64 `json:"b"`
Alpha float64 `json:"a"`
}
func DefaultTint ¶
func DefaultTint() Color
type Offset ¶
func DefaultOffset ¶
func DefaultOffset() Offset
type RenderProperties ¶
RenderProperties hold additional values needed for rendering an icon.
func NewRenderPropertiesFromIcon ¶
func NewRenderPropertiesFromIcon(icon Icon) RenderProperties
NewRenderPropertiesFromIcon creates the rendering properties for the provided icon.
Click to show internal directories.
Click to hide internal directories.