Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Auto = Color{255, 0, 0, 0, true}
View Source
var Blue = Color{255, 0, 0, 255, false}
View Source
var Green = Color{255, 0, 255, 0, false}
View Source
var LightGray = Color{255, 0xC0, 0xC0, 0xC0, false}
View Source
var Red = Color{255, 255, 0, 0, false}
Functions ¶
This section is empty.
Types ¶
type Color ¶
type Color struct {
// contains filtered or unexported fields
}
Color is a 24 bit color that can be converted to internal ECMA-376 formats as needed.
func (Color) AsRGBAString ¶
AsRGBAString is used by the various wrappers to return a pointer to a string containing a six digit hex RGB value.
func (Color) AsRGBString ¶
AsRGBString is used by the various wrappers to return a pointer to a string containing a six digit hex RGB value.
Click to show internal directories.
Click to hide internal directories.