Crate primitives[][src]

Modules

color
convert
prelude

Structs

CmyColor
CmykColor
HslColor
HsvColor
RgbColor
RgbaColor

Enums

BaseLine

see https://developer.mozilla.org/ru/docs/Web/API/Canvas_API/Tutorial/Drawing_text

Color
ColorError
TextAlign
TextStyle
TextWeight

Traits

ColorSpace
ToHexString

Functions

color_from_rgb_u32
color_from_rgba_u32
color_from_short_rgb_u16
color_from_short_rgba_u16
normalize_hue
percentage_to_fraction