Versions in this module Expand all Collapse all v0 v0.1.5 Jul 11, 2020 v0.1.4 Jul 10, 2020 Changes in this version + var ARGB1555Model = color.ModelFunc(argb1555Model) + var ARGB2101010Model = color.ModelFunc(argb2101010Model) + var ARGB2222Model = color.ModelFunc(argb2222Model) + var ARGB3332Model = color.ModelFunc(argb3332Model) + var ARGB4444Model = color.ModelFunc(argb4444Model) + var ARGB6565Model = color.ModelFunc(argb6565Model) + var ARGB8888Model = color.ModelFunc(argb8888Model) + var RGBA1010102Model = color.ModelFunc(rgba1010102Model) + var RGBA2222Model = color.ModelFunc(rgba2222Model) + var RGBA3323Model = color.ModelFunc(rgba3323Model) + var RGBA5656Model = color.ModelFunc(rgba5656Model) + var RGBA8888Model = color.RGBAModel + var RGBX5551Model = color.ModelFunc(rgbx5551Model) + var XRGB1555Model = color.ModelFunc(xrgb1555Model) + func ToXRGB1555(c color.Color) color.Color + type ARGB1555 uint16 + func ToARGB1555(c color.Color) ARGB1555 + func (c ARGB1555) RGBA() (r, g, b, a uint32) + type ARGB2101010 uint32 + func ToARGB2101010(c color.Color) ARGB2101010 + func (c ARGB2101010) RGBA() (r, g, b, a uint32) + type ARGB2222 uint8 + func ToARGB2222(c color.Color) ARGB2222 + func (c ARGB2222) RGBA() (r, g, b, a uint32) + type ARGB3332 uint16 + func ToARGB3332(c color.Color) ARGB3332 + func (c ARGB3332) RGBA() (r, g, b, a uint32) + type ARGB4444 uint16 + func ToARGB4444(c color.Color) ARGB4444 + func (c ARGB4444) RGBA() (r, g, b, a uint32) + type ARGB6565 uint32 + func ToARGB6565(c color.Color) ARGB6565 + func (c ARGB6565) RGBA() (r, g, b, a uint32) + type ARGB8888 uint32 + func ToARGB8888(c color.Color) ARGB8888 + func (c ARGB8888) RGBA() (r, g, b, a uint32) + type RGBA1010102 uint32 + func ToRGBA1010102(c color.Color) RGBA1010102 + func (c RGBA1010102) RGBA() (r, g, b, a uint32) + type RGBA2222 uint8 + func ToRGBA2222(c color.Color) RGBA2222 + func (c RGBA2222) RGBA() (r, g, b, a uint32) + type RGBA3323 uint16 + func ToRGBA3323(c color.Color) RGBA3323 + func (c RGBA3323) RGBA() (r, g, b, a uint32) + type RGBA5656 uint32 + func ToRGBA5656(c color.Color) RGBA5656 + func (c RGBA5656) RGBA() (r, g, b, a uint32) + type RGBX5551 uint16 + func ToRGBX5551(c color.Color) RGBX5551 + func (c RGBX5551) RGBA() (r, g, b, a uint32) + type XRGB1555 uint16 + func (c XRGB1555) RGBA() (r, g, b, a uint32) v0.1.3 Jul 9, 2020 Changes in this version + var BitModel = color.ModelFunc(bitModel) + var RGB332Model = color.ModelFunc(rgb332Model) + var RGB565Model = color.ModelFunc(rgb565Model) + var RGB888Model = color.ModelFunc(rgb888Model) + var RGBA4444Model = color.ModelFunc(rgba4444Model) + var RGBA5551Model = color.ModelFunc(rgba5551Model) + type Bit bool + const Off + const On + func ToBit(c color.Color) Bit + func (c Bit) RGBA() (r, g, b, a uint32) + type RGB332 uint8 + func ToRGB332(c color.Color) RGB332 + func (c RGB332) RGBA() (r, g, b, a uint32) + type RGB565 uint16 + func ToRGB565(c color.Color) RGB565 + func (c RGB565) RGBA() (r, g, b, a uint32) + type RGB888 struct + B uint8 + G uint8 + R uint8 + func ToRGB888(c color.Color) RGB888 + func (c RGB888) RGBA() (r, g, b, a uint32) + type RGBA4444 uint16 + func ToRGBA4444(c color.Color) RGBA4444 + func (c RGBA4444) RGBA() (r, g, b, a uint32) + type RGBA5551 uint16 + func ToRGBA5551(c color.Color) RGBA5551 + func (c RGBA5551) RGBA() (r, g, b, a uint32)