MixingModelExtensions

Static Class in Zigurous.ColorPro


Declaration

public static class MixingModelExtensions

Description

Extension methods for MixingModel.

Extension Methods

PrimaryColorsReturns the primary colors of the mixing model.
PrimaryColorsNonAllocFills an existing array with the primary colors of the mixing model to prevent heap allocations. The output array requires a size of at least 3.
SecondaryColorsReturns the secondary colors of the mixing model.
SecondaryColorsNonAllocFills an existing array with the secondary colors of the mixing model to prevent heap allocations. The output array requires a size of at least 3.
TertiaryColorsReturns the tertiary colors of the mixing model.
TertiaryColorsNonAllocFills an existing array with the tertiary colors of the mixing model to prevent heap allocations. The output array requires a size of at least 6.
ColorWheelReturns the primary, secondary, and tertiary colors of the mixing model.
ColorWheelNonAllocFills an existing array with the primary, secondary, and tertiary colors of the mixing model to prevent heap allocations. The output array requires a size of at least 12.