Module maplibre::style

source ·
Expand description

Vector tile format styling.

Modules§

  • Vector tile layer drawing utilities.
  • Raster tile layer description
  • Vector tile data utilities.
  • style 🔒
    Default vector tile styles configuration.

Structs§

  • A color in the ACES 2065-1 color space.
  • A color in the ACEScc color space.
  • A color in the ACEScct color space.
  • A color in the ACEScg color space.
  • A color with an alpha component.
  • A color in the BT.2020 color space.
  • A color in the BT.2100 color space.
  • A color in the CIE L*C*h° color space.
  • A color in the CIE L*a*b* color space.
  • A color in the CIE XYZ color space.
  • A color in the DCI-P3 (aka P3 DCI and P3 D60) color space.
  • A color in the X’Y’Z’ color space, a DCI specification used for digital cinema mastering.
  • A color in the Display P3 (aka P3 D65) color space.
  • A color in the encoded BT.2020 color space.
  • A color in the encoded BT.2100 color space with HLG (Hybrid Log-Gamma) transfer function.
  • A color in the encoded BT.2100 color space with PQ (Perceptual Quantizer) transfer function.
  • A color in the Display P3 (aka P3 D65) color space.
  • A color in the encoded Rec.709/BT.709 color space.
  • A color in the encoded sRGB color space.
  • A color in a generic color space that can be represented by 1 component. The user is responsible for ensuring that the correct color space is respected.
  • A color in a generic color space that can be represented by 3 components. The user is responsible for ensuring that the correct color space is respected.
  • A color in the HSL color space.
  • A color in the HSV color space.
  • A color in the ICtCp color space with HLG (Hybrid Log-Gamma) nonlinearity.
  • A color in the ICtCp color space with PQ (Perceptual Quantizer) nonlinearity.
  • A color in the linear (decoded) sRGB color space.
  • A single-channel CIE luma (non-linear transform from luminance).
  • A single-channel CIE luminance.
  • A color in the Oklab color space.
  • A color in the Oklch color space (a transformation from Oklab to LCh° coordinates).
  • A premultiplied color with an alpha component.
  • A color in the Rec.709/BT.709 color space.
  • Stores the style for a multi-layered map.
  • A color in the YCbCr color space. See discussion of the difference between YCbCr, YUV, and YPbPr in YCbCr Wikipedia article
  • A color in the YCxCz (also called YyCxCz) color space, originally defined in “Optimized universal color palette design for error diffusion” by B. W. Kolpatzik and C. A. Bouman. Can be thought of as a “linear CIE Lab”.
  • A color in the YPbPr color space. See discussion of the difference between YCbCr, YUV, YPbPr, and Y’PbPr in the YCbCr Wikipedia article
  • A color in the Y’CbCr color space. See discussion of the difference between YCbCr, Y’CbCr, YUV, YPbPr, and Y’PbPr in the YCbCr Wikipedia article
  • A color in the Y’PbPr color space. See discussion of the difference between YCbCr, YUV, YPbPr, and Y’PbPr in the YCbCr Wikipedia article
  • A color in the YUV color space. See discussion of the difference between YCbCr, YUV, and YPbPr in YCbCr Wikipedia article

Enums§

  • An enum with a variant for each of the color spaces supported by the library. Useful for tracking as metadata in something like an image type, and for runtime-determined color types.

Traits§

  • A trait that should be implemented by provider crates on their local color types so that you can call color.to_cint() and Color::from_cint(cint_color).
  • A trait used to simpify the interface of the Alpha and PremultipliedAlpha types and allow use with Spaces enum.