Documentation ¶
Index ¶
Constants ¶
View Source
const ( TimerModeNormal = "normal" TimerModeReverse = "reverse" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CircleOptions ¶
type CircleOptions struct { Radius float64 `mapstructure:"radius"` StrokeWidth float64 `mapstructure:"strokeWidth"` FillColor string `mapstructure:"fillColor"` StrokeColor string `mapstructure:"strokeColor"` }
func NewCircleOptions ¶
func NewCircleOptions() *CircleOptions
type ImageOptions ¶
type ImageOptions struct { Data string `mapstructure:"data"` Width int `mapstructure:"width"` Height int `mapstructure:"height"` Mask *MaskOptions `mapstructure:"mask"` }
func NewImageOptions ¶
func NewImageOptions() *ImageOptions
type RectangleOptions ¶
type RectangleOptions struct { Width float64 `mapstructure:"width"` Height float64 `mapstructure:"height"` RoundedRadius float64 `mapstructure:"roundedRadius"` StrokeWidth float64 `mapstructure:"strokeWidth"` FillColor string `mapstructure:"fillColor"` StrokeColor string `mapstructure:"strokeColor"` }
func NewRectangleOptions ¶
func NewRectangleOptions() *RectangleOptions
type TextOptions ¶
type TextOptions struct { Text string `mapstructure:"text"` Width int `mapstructure:"width"` Height int `mapstructure:"height"` FontSize float64 `mapstructure:"fontSize"` Padding float64 `mapstructure:"padding"` Radius float64 `mapstructure:"radius"` TextColor string `mapstructure:"textColor"` BackgroundColor string `mapstructure:"backgroundColor"` }
func NewTextOptions ¶
func NewTextOptions() *TextOptions
type TimerOptions ¶
type TimerOptions struct { Mode string `mapstructure:"mode"` IncludeZero bool `mapstructure:"includeZero"` Format string `mapstructure:"format"` }
func NewTimerOptions ¶
func NewTimerOptions() *TimerOptions
Click to show internal directories.
Click to hide internal directories.