Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Black = New(0, 0, 0)
Black color
View Source
var White = New(1, 1, 1)
White color
Functions ¶
Types ¶
type Color ¶
Color represents a color in RGB notation
func (*Color) MultiplyColor ¶
MultiplyColor returns the product of two colors
func (*Color) ToPPMPixel ¶
ToPPMPixel represent a color as a PPM pixel
Click to show internal directories.
Click to hide internal directories.