C# Class System.Drawing.PieChart.ColorUtil

Color utility structure.
显示文件 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_oe static_oe property

Small brightness change factor.
public static float BrightnessEnhancementFactor1
return float

BrightnessEnhancementFactor2 public_oe static_oe property

Large brightness change factor.
public static float BrightnessEnhancementFactor2
return float