Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ChannelAsByte ¶
ChannelAsByte converts a uint32 color channel ranging within [0, 0xFFFF] to a byte.
func ColorAsBytes ¶
ColorAsBytes converts a color to a 4-byte (one byte for each channel) representation.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.