Definitions for common color types.
Definitions for common color types.
Definitions for common color types.
Resolves to a Color instance with its ChannelType expanded by BYTES bytes.
Resolves to a Color instance with its ChannelType expanded by BYTES bytes and made signed.
Definitions for common color types.
Definitions for common color types.
Definitions for common color types.
Definitions for common color types.
8 monochrome bits packed into a byte, in the usual big-endian order.
As above, but in little-endian order.
Color storage unit for as-is storage.
Definitions for common color types.
Definitions for common color types.
Definitions for common color types.
Definitions for common color types.
Definitions for common color types.
Definitions for common color types.
Definitions for common color types.
Definitions for common color types.
Definitions for common color types.
Definitions for common color types.
Get the color value of a storage unit type.
Construct a StorageType with all colors set to the indicated value.
Color storage unit description for packed bit colors (1-bit, 2-bit, 4-bit etc.)
Represents a tuple of samples, usually used to represent a single color in some color space. This helper type allows manipulating such tuples more easily, and has special behavior for common color representations (e.g. special treatment of the "a" field as an alpha channel, and construction from hex strings for R/G/B colors). FieldTuple is a field spec, as parsed by ae.utils.meta.FieldList. By convention, each field's name indicates its purpose: - x: padding - a: alpha - l: lightness (or grey, for monochrome images) - others (r, g, b, etc.): color information
Calculate an interpolated color on a gradient with multiple points
Resolves to a Color instance with a different ChannelType.
Obtains the type of each channel for homogeneous colors.
Wrapper around ExpandNumericType to only expand integer types.
Resolves to a Color instance with a different ChannelType.
Applies a transformation per-channel. expr may be in the form of a => ..., or (a, ref b) { b = ...; } (only if T is explicitly specified).
True when we can take the address of an individual color within a storage unit.
The number of bits that one individual color takes up.
This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.
Color type and operations.