Метод | Описание | |
---|---|---|
GetRandomRainbowColor ( ) : System.Drawing.Color |
Comes up with a 'pure' psuedo-random color
|
|
GetRandomRainbowMediaColor ( ) : System.Windows.Media.System.Drawing.Color | ||
RandomizeBrush ( System.Windows.Media.Brush brush ) : System.Windows.Media.Brush | ||
ShiftColor ( System.Drawing.Color c, int shiftAmount ) : System.Drawing.Color | ||
ToDrawingColor ( System mColor ) : System.Drawing.Color | ||
ToMediaColor ( System.Drawing.Color dColor ) : System.Windows.Media.System.Drawing.Color |
Метод | Описание | |
---|---|---|
BringIntInColorRange ( int i ) : int |
public static GetRandomRainbowColor ( ) : System.Drawing.Color | ||
Результат | System.Drawing.Color |
public static GetRandomRainbowMediaColor ( ) : System.Windows.Media.System.Drawing.Color | ||
Результат | System.Windows.Media.System.Drawing.Color |
public static RandomizeBrush ( System.Windows.Media.Brush brush ) : System.Windows.Media.Brush | ||
brush | System.Windows.Media.Brush | |
Результат | System.Windows.Media.Brush |
public static ShiftColor ( System.Drawing.Color c, int shiftAmount ) : System.Drawing.Color | ||
c | System.Drawing.Color | |
shiftAmount | int | |
Результат | System.Drawing.Color |
public static ToDrawingColor ( System mColor ) : System.Drawing.Color | ||
mColor | System | |
Результат | System.Drawing.Color |
public static ToMediaColor ( System.Drawing.Color dColor ) : System.Windows.Media.System.Drawing.Color | ||
dColor | System.Drawing.Color | |
Результат | System.Windows.Media.System.Drawing.Color |