Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type GradientTable ¶
GradientTable contains the "keypoints" of the colorgradient you want to generate. The position of each keypoint has to live in the range [0,1]
func GenerateGradient ¶
func GenerateGradient(filename string, transitionFlag bool) GradientTable
GenerateGradient generates a gradient with the information given, in filename, by user
Click to show internal directories.
Click to hide internal directories.