Documentation ¶
Index ¶
- func New(orb *orbit.Orbit) interface{}
- type Colour
- func (this *Colour) Cmyk() [4]float64
- func (this *Colour) Hcl() [3]float64
- func (this *Colour) Hex() string
- func (this *Colour) Hsl() [3]float64
- func (this *Colour) Hsv() [3]float64
- func (this *Colour) Lab() [3]float64
- func (this *Colour) Luv() [3]float64
- func (this *Colour) Output() (string, float64, float64, float64, float64)
- func (this *Colour) Rgb() [3]uint8
- func (this *Colour) Rgba() [4]uint8
- func (this *Colour) String() string
- func (this *Colour) ToCMYK() color.CMYK
- func (this *Colour) ToRGBA() color.RGBA
- func (this *Colour) Xyy() [3]float64
- func (this *Colour) Xyz() [3]float64
- type Module
- func (this *Module) Cmyk(c, m, y, k float64) *Colour
- func (this *Module) Hcl(h, c, l float64) *Colour
- func (this *Module) Hex(h string) *Colour
- func (this *Module) Hsl(h, s, l float64) *Colour
- func (this *Module) Hsv(h, s, v float64) *Colour
- func (this *Module) Lab(l, a, b float64) *Colour
- func (this *Module) Load(call otto.FunctionCall) otto.Value
- func (this *Module) Luv(l, u, v float64) *Colour
- func (this *Module) Rgb(r, g, b float64) *Colour
- func (this *Module) Xyy(x, y, z float64) *Colour
- func (this *Module) Xyz(x, y, z float64) *Colour
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Colour ¶
type Colour struct {
// contains filtered or unexported fields
}
func NewColourWithCMYK ¶
Click to show internal directories.
Click to hide internal directories.