Documentation ¶
Index ¶
- func Desaturate(c color.RGBA, amount uint8) color.RGBA
- func FillShape(d tinygui.Displayer, x, y, w, h int16, s *Shape, c color.RGBA)
- func FilledBox(d tinygui.Displayer, x, y, w, h int16, c color.RGBA)
- func FilledBoxWithShadow(d tinygui.Displayer, x, y, w, h int16, c, s1, s2 color.RGBA)
- func FilledCircle(d tinygui.Displayer, x, y, w int16, c color.RGBA)
- func FilledCircleWithShadow(d tinygui.Displayer, x, y, w int16, c, s1, s2 color.RGBA)
- func LineWidth(font *tinyamifont.Font, str string) (innerWidth uint32, outboxWidth uint32)
- func OutlineBox(d tinygui.Displayer, x, y, w, h int16, c color.RGBA)
- func OutlineBoxWithShadow(d tinygui.Displayer, x, y, w, h int16, c, s1, s2 color.RGBA)
- func ToHSV(r, g, b uint8) (h, s, v uint8)
- func ToRGB(h, s, v uint8) (r, g, b uint8)
- func TransitionColor(fromColor color.RGBA, toColor color.RGBA, amount uint8) color.RGBA
- func WriteLine(display drivers.Displayer, font *tinyamifont.Font, x int16, y int16, ...)
- type LineSegment
- type Point8
- type Shape
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FilledBoxWithShadow ¶
func FilledCircleWithShadow ¶
func LineWidth ¶
func LineWidth(font *tinyamifont.Font, str string) (innerWidth uint32, outboxWidth uint32)
func OutlineBoxWithShadow ¶
func TransitionColor ¶
Types ¶
type LineSegment ¶
type Shape ¶
type Shape struct {
Lines []LineSegment
}
Click to show internal directories.
Click to hide internal directories.