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.
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.)
Instantiates to a color type. FieldTuple is the color specifier, as parsed by the FieldList template from ae.utils.meta. 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.
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.