You are here: Symbol Reference > Dew Namespace > Dew.Math Namespace > Dew.Math.Tee Namespace > Classes > ColorPalette Class > ColorPalette Properties > ColorPalette.ColorBalanceMid Property
Dew Math for .NET
ContentsIndexHome
PreviousUpNext
ColorPalette.ColorBalanceMid Property

Defines the mid color balance for three color model.

Syntax
C#
Visual Basic
public double ColorBalanceMid;

Acceptable range for the parameter is between -1 and +1. For the three color model the zero puts the middle color exactly on the middle between the Top and the Bottom color. At +1, the mid color is at the range of the top color and at -1, the mid color is at the range of the bottom color.

Copyright (c) 1999-2024 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!