Expand description
Paints for drawing shapes.
Structs§
- Encoded
Blurred Rounded Rectangle - An encoded blurred, rounded rectangle.
- Encoded
External Texture - An encoded external texture.
- Encoded
Gradient - An encoded gradient.
- Encoded
Image - An encoded image.
- Focal
Data - Focal data for a radial gradient.
- Gradient
Cache Key - Cache key for gradient color ramps based on color-affecting properties.
- Gradient
Lut - A lookup table for sampled gradient values.
- Gradient
Range - An encoded range between two color stops.
- Linear
Kind - Computed properties of a linear gradient.
- Sweep
Kind - Computed properties of a sweep gradient.
Enums§
- Encoded
Kind - A kind of encoded gradient.
- Encoded
Paint - An encoded paint.
- Radial
Kind - A radial gradient.
Constants§
- MAX_
GRADIENT_ LUT_ SIZE - The maximum size of the gradient LUT.
Traits§
- Encode
Ext - A trait for encoding paints.
- From
F32Color - A helper trait for converting a premultiplied f32 color to
Self.