Module jiao::core::color

source ·

Modules§

Structs§

  • 32-bit ARGB color value, unpremultiplied.
  • Color4f represents RGBA color value, holding four floating point components.
  • Used to represent the channels available in a color type or texture format as a mask.
  • 32-bit ARGB color value, premultiplied.
  • Rgba4F represents RGBA color value, holding four floating point components.

Enums§

  • ColorChannel describes different color channels one can manipulate

Constants§

  • Represents fully opaque Alpha value. Alpha ranges from zero, fully transparent; to 255, fully opaque.
  • Represents fully transparent Alpha value. Alpha ranges from zero, fully transparent; to 255, fully opaque.
  • Represents fully opaque black.
  • Represents fully opaque blue.
  • Represents fully opaque cyan. HTML aqua is equivalent.
  • Represents fully opaque dark gray.
  • Represents fully opaque gray.
  • Represents fully opaque green. HTML lime is equivalent.
  • Represents fully opaque light gray. HTML silver is equivalent to 0xFFC0C0C0.
  • Represents fully opaque magenta. HTML fuchsia is equivalent.
  • Represents fully opaque red.
  • Represents fully transparent Color. May be used to initialize a destination containing a mask or a non-rectangular image.
  • Represents fully opaque white.
  • Represents fully opaque yellow.

Type Aliases§

  • 8-bit type for an alpha value. 255 is 100% opaque, zero is 100% transparent.