is commonly used in interface design where an appealing look is wanted without too many contrasting colors. The HSL and HSV transfer modes are identical. The only difference is that they operate in different color spaces.
This category of transfer modes is comprised of a large number of classes. Rather than list all of the classes here, where only one class exists for a particular kind of operation that class is listed in the bullet list. Where there are a number of classes that preform the same operation, the bullet list explains how you can tell what the transfer mode operation does by the name of the class.
- ReplaceHue: These classes place the color hue of the source into the destination, which results in a colorization of the destination.
- ReplaceSaturation: These classes place the saturation of the source into the destination, which results in a shifting of the destination chroma from pure to white in the HSV color space, or in a shift in the Y-axis in the HSL color space.
- THSLReplaceLightness: This class places the source color values for hue, saturation, and light into the destination.
- Tint: These classes place the source color hue and saturation into the destination and leave the destination lightness untouched.
- THSVReplaceValue: This class places the source color values for hue, saturation, and value into the destination.
- Blend: These classes use a GIntensity value to determine how much of the source color to place in the destination. A GIntensity value of 1 places all of the original source color in the destination. A GIntensity value of 0 places none of the original source color in the destination. A value of 0.2 places 0.2 of the source color in the destination and leaves 0.8 of the destination color intact.
The Blend transfer modes are useful for image classes that do not have an alpha channel, which would be the image classes that do not have an "A" in their name; for example, TGrayImage. When an image class does not have an alpha channel, even though opacity information is specified in the color definition, that opacity information is not stored in the image. See Chapter 6 for more information on the available image classes.