C# Class System.Drawing.PieChart.ColorUtil

Color utility structure.
Show file Open project: Longkong/Pojjaman Class Usage Examples

Public Properties

Property Type Description
BrightnessEnhancementFactor1 float
BrightnessEnhancementFactor2 float

Public Methods

Method Description
CreateColorWithCorrectedLightness ( System.Color color, float correctionFactor ) : System.Color

Creates color with corrected lightness.

Method Details

CreateColorWithCorrectedLightness() public static method

Creates color with corrected lightness.
public static CreateColorWithCorrectedLightness ( System.Color color, float correctionFactor ) : System.Color
color System.Color /// Color to correct. ///
correctionFactor float /// Correction factor, with a value between -1 and 1. Negative values /// create darker color, positive values lighter color. Zero value /// returns the current color. ///
return System.Color

Property Details

BrightnessEnhancementFactor1 public static property

Small brightness change factor.
public static float BrightnessEnhancementFactor1
return float

BrightnessEnhancementFactor2 public static property

Large brightness change factor.
public static float BrightnessEnhancementFactor2
return float