Ext.NET  5.3.0
.NET Component Framework for Enterprise Level Apps
Ext.Net.DrawColor Class Reference

More...

Public Member Functions

 DrawColor ()
 
 DrawColor (byte red, byte green, byte blue, double alpha)
 
 DrawColor (string color)
 
 DrawColor (DrawColor color)
 
override string ToString ()
 
DrawColor CreateDarker ()
 Return a new color that is darker than this color. More...
 
DrawColor CreateDarker (double factor)
 Return a new color that is darker than this color. More...
 
DrawColor CreateLighter ()
 Return a new color that is lighter than this color. More...
 
DrawColor CreateLighter (double factor)
 Return a new color that is lighter than this color. More...
 

Static Public Member Functions

static DrawColor FromHSL (int h, double s, double l)
 

Properties

bool Raw [get, set]
 

Detailed Description

Constructor & Destructor Documentation

◆ DrawColor() [1/4]

Ext.Net.DrawColor.DrawColor ( )
inline

◆ DrawColor() [2/4]

Ext.Net.DrawColor.DrawColor ( byte  red,
byte  green,
byte  blue,
double  alpha 
)
inline

◆ DrawColor() [3/4]

Ext.Net.DrawColor.DrawColor ( string  color)
inline

◆ DrawColor() [4/4]

Ext.Net.DrawColor.DrawColor ( DrawColor  color)
inline

Member Function Documentation

◆ CreateDarker() [1/2]

DrawColor Ext.Net.DrawColor.CreateDarker ( )
inline

Return a new color that is darker than this color.

Returns

◆ CreateDarker() [2/2]

DrawColor Ext.Net.DrawColor.CreateDarker ( double  factor)
inline

Return a new color that is darker than this color.

Parameters
factorDarker factor (0..1). Defaults to: 0.2
Returns

◆ CreateLighter() [1/2]

DrawColor Ext.Net.DrawColor.CreateLighter ( )
inline

Return a new color that is lighter than this color.

Returns

◆ CreateLighter() [2/2]

DrawColor Ext.Net.DrawColor.CreateLighter ( double  factor)
inline

Return a new color that is lighter than this color.

Parameters
factorLighter factor (0..1). Defaults to: 0.2
Returns

◆ FromHSL()

static DrawColor Ext.Net.DrawColor.FromHSL ( int  h,
double  s,
double  l 
)
inlinestatic

◆ ToString()

override string Ext.Net.DrawColor.ToString ( )
inline

Property Documentation

◆ Raw

bool Ext.Net.DrawColor.Raw
getset


The documentation for this class was generated from the following file: