C# Class iTextSharp.text.BaseColor

Base class for Color, serves as wrapper class for T:Android.Graphics.Color to allow extension.
Show file Open project: mapo80/iTextSharp-Monotouch Class Usage Examples

Public Properties

Property Type Description
BLACK BaseColor
BLUE BaseColor
CYAN BaseColor
DARK_GRAY BaseColor
GRAY BaseColor
GREEN BaseColor
LIGHT_GRAY BaseColor
MAGENTA BaseColor
ORANGE BaseColor
PINK BaseColor
RED BaseColor
WHITE BaseColor
YELLOW BaseColor

Public Methods

Method Description
BaseColor ( System color ) : System

Constructor for Color object

BaseColor ( float red, float green, float blue ) : System

Constructor for Color object

BaseColor ( float red, float green, float blue, float alpha ) : System

Constructor for Color object

BaseColor ( int argb ) : System
BaseColor ( int red, int green, int blue ) : System

Constuctor for Color object.

BaseColor ( int red, int green, int blue, int alpha ) : System

Constuctor for Color object.

Brighter ( ) : BaseColor
Darker ( ) : BaseColor
Equals ( object obj ) : bool
GetHashCode ( ) : int
ToArgb ( ) : int
ToString ( ) : string

Method Details

BaseColor() public method

Constructor for Color object
public BaseColor ( System color ) : System
color System a Color object
return System

BaseColor() public method

Constructor for Color object
public BaseColor ( float red, float green, float blue ) : System
red float The red component value for the new Color structure. Valid values are 0 through 1.
green float The green component value for the new Color structure. Valid values are 0 through 1.
blue float The blue component value for the new Color structure. Valid values are 0 through 1.
return System

BaseColor() public method

Constructor for Color object
public BaseColor ( float red, float green, float blue, float alpha ) : System
red float The red component value for the new Color structure. Valid values are 0 through 1.
green float The green component value for the new Color structure. Valid values are 0 through 1.
blue float The blue component value for the new Color structure. Valid values are 0 through 1.
alpha float The transparency component value for the new Color structure. Valid values are 0 through 1.
return System

BaseColor() public method

public BaseColor ( int argb ) : System
argb int
return System

BaseColor() public method

Constuctor for Color object.
public BaseColor ( int red, int green, int blue ) : System
red int The red component value for the new Color structure. Valid values are 0 through 255.
green int The green component value for the new Color structure. Valid values are 0 through 255.
blue int The blue component value for the new Color structure. Valid values are 0 through 255.
return System

BaseColor() public method

Constuctor for Color object.
public BaseColor ( int red, int green, int blue, int alpha ) : System
red int The red component value for the new Color structure. Valid values are 0 through 255.
green int The green component value for the new Color structure. Valid values are 0 through 255.
blue int The blue component value for the new Color structure. Valid values are 0 through 255.
alpha int The transparency component value for the new Color structure. Valid values are 0 through 255.
return System

Brighter() public method

public Brighter ( ) : BaseColor
return BaseColor

Darker() public method

public Darker ( ) : BaseColor
return BaseColor

Equals() public method

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

GetHashCode() public method

public GetHashCode ( ) : int
return int

ToArgb() public method

public ToArgb ( ) : int
return int

ToString() public method

public ToString ( ) : string
return string

Property Details

BLACK public static property

public static BaseColor,iTextSharp.text BLACK
return BaseColor

BLUE public static property

public static BaseColor,iTextSharp.text BLUE
return BaseColor

CYAN public static property

public static BaseColor,iTextSharp.text CYAN
return BaseColor

DARK_GRAY public static property

public static BaseColor,iTextSharp.text DARK_GRAY
return BaseColor

GRAY public static property

public static BaseColor,iTextSharp.text GRAY
return BaseColor

GREEN public static property

public static BaseColor,iTextSharp.text GREEN
return BaseColor

LIGHT_GRAY public static property

public static BaseColor,iTextSharp.text LIGHT_GRAY
return BaseColor

MAGENTA public static property

public static BaseColor,iTextSharp.text MAGENTA
return BaseColor

ORANGE public static property

public static BaseColor,iTextSharp.text ORANGE
return BaseColor

PINK public static property

public static BaseColor,iTextSharp.text PINK
return BaseColor

RED public static property

public static BaseColor,iTextSharp.text RED
return BaseColor

WHITE public static property

public static BaseColor,iTextSharp.text WHITE
return BaseColor

YELLOW public static property

public static BaseColor,iTextSharp.text YELLOW
return BaseColor