Documentation ¶
Overview ¶
Package color contains types and functions for color management.
A new color type and model that represents colors as float64 along with functions:
Add Prod Scale
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var FRGBAModel color.Model = color.ModelFunc(frgbaModel)
FRGBAModel for conversion of a color to FRGBA.
Functions ¶
This section is empty.
Types ¶
type FRGBA ¶
type FRGBA struct {
R, G, B, A float64
}
FRGBA represents a non-premultiplied RGBA tuple in floating point [0,1] such that the tuple can be added to, scaled and multiplied.
Click to show internal directories.
Click to hide internal directories.