C# Class Signum.Entities.Basics.ColorEntity

Inheritance: EmbeddedEntity
Mostra file Open project: signumsoftware/framework Class Usage Examples

Private Properties

Property Type Description

Public Methods

Method Description
ARGBHex ( ) : string
ColorEntity ( ) : System
Equals ( object color ) : bool
FromARGB ( byte a, byte r, byte g, byte b ) : ColorEntity
FromARGB ( byte a, int rgb ) : ColorEntity
FromARGB ( int argb ) : ColorEntity
FromRGBHex ( string htmlColor ) : ColorEntity
GetHashCode ( ) : int
RGBAExpression ( ) : string
RGBHex ( ) : string
ToColor ( ) : Color
ToString ( ) : string

Method Details

ARGBHex() public method

public ARGBHex ( ) : string
return string

ColorEntity() public method

public ColorEntity ( ) : System
return System

Equals() public method

public Equals ( object color ) : bool
color object
return bool

FromARGB() public static method

public static FromARGB ( byte a, byte r, byte g, byte b ) : ColorEntity
a byte
r byte
g byte
b byte
return ColorEntity

FromARGB() public static method

public static FromARGB ( byte a, int rgb ) : ColorEntity
a byte
rgb int
return ColorEntity

FromARGB() public static method

public static FromARGB ( int argb ) : ColorEntity
argb int
return ColorEntity

FromRGBHex() public static method

public static FromRGBHex ( string htmlColor ) : ColorEntity
htmlColor string
return ColorEntity

GetHashCode() public method

public GetHashCode ( ) : int
return int

RGBAExpression() public method

public RGBAExpression ( ) : string
return string

RGBHex() public method

public RGBHex ( ) : string
return string

ToColor() public method

public ToColor ( ) : Color
return Color

ToString() public method

public ToString ( ) : string
return string