Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ColorFaderEffect ¶
type ColorFaderEffect struct {
// contains filtered or unexported fields
}
func NewColorFaderMask ¶
func NewColorFaderMask() *ColorFaderEffect
func (*ColorFaderEffect) AdaptPixel ¶
func (m *ColorFaderEffect) AdaptPixel() func(canvas Canvas, x int, y int, color color.Color)
func (*ColorFaderEffect) SetFade ¶
func (m *ColorFaderEffect) SetFade(fade float64)
type DynamicEffect ¶
type FadeInOutDynamicEffect ¶
type FadeInOutDynamicEffect struct {
// contains filtered or unexported fields
}
func NewFadeInOutSceneEffect ¶
func NewFadeInOutSceneEffect(sceneDuration time.Duration) *FadeInOutDynamicEffect
func (*FadeInOutDynamicEffect) AdaptPixel ¶
type ShadedColorMask ¶
type ShadedColorMask struct {
// contains filtered or unexported fields
}
ShadedColorMask is used in clock.go to color the hours and minutes
func NewShadedColorMask ¶
func NewShadedColorMask(bounds image.Rectangle) *ShadedColorMask
func (*ShadedColorMask) AdaptPixel ¶
func (m *ShadedColorMask) AdaptPixel() func(canvas Canvas, x int, y int, color color.Color)
type VisibleMask ¶
type VisibleMask struct {
// contains filtered or unexported fields
}
func NewVisibleMask ¶
func NewVisibleMask(visibleArea image.Rectangle) *VisibleMask
func (*VisibleMask) AdaptPixel ¶
func (c *VisibleMask) AdaptPixel() func(canvas Canvas, x int, y int, color color.Color)
func (*VisibleMask) GetOffset ¶
func (c *VisibleMask) GetOffset() image.Point
func (*VisibleMask) SetOffset ¶
func (c *VisibleMask) SetOffset(offset image.Point)
Click to show internal directories.
Click to hide internal directories.