C# Class Svg2Xaml.SvgColor

Represents an RGB color.
显示文件 Open project: jogibear9988/svg2xaml Class Usage Examples

Public Properties

Property Type Description
Blue float
Green float
Red float

Public Methods

Method Description
Parse ( string value ) : SvgColor
SvgColor ( byte red, byte green, byte blue ) : System
SvgColor ( float red, float green, float blue ) : System
ToColor ( ) : Color

Method Details

Parse() public static method

public static Parse ( string value ) : SvgColor
value string
return SvgColor

SvgColor() public method

public SvgColor ( byte red, byte green, byte blue ) : System
red byte
green byte
blue byte
return System

SvgColor() public method

public SvgColor ( float red, float green, float blue ) : System
red float
green float
blue float
return System

ToColor() public method

public ToColor ( ) : Color
return Color

Property Details

Blue public_oe property

public float Blue
return float

Green public_oe property

public float Green
return float

Red public_oe property

public float Red
return float