C# Class iTextSharp.text.Color

Base class for Color, serves as wrapper class for T:System.Drawing.Color to allow extension.
ファイルを表示 Open project: red-gate/iTextSharp-4.1.6 Class Usage Examples

Public Properties

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

Public Methods

Method Description
Brighter ( ) : Color
Color ( System color ) : System

Constructor for Color object

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

Constructor for Color object

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

Constructor for Color object

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

Constuctor for Color object.

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

Constuctor for Color object.

Darker ( ) : Color
Equals ( object obj ) : bool
GetHashCode ( ) : int
ToArgb ( ) : int

Method Details

Brighter() public method

public Brighter ( ) : Color
return Color

Color() public method

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

Color() public method

Constructor for Color object
public Color ( 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

Color() public method

Constructor for Color object
public Color ( 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

Color() public method

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

Color() public method

Constuctor for Color object.
public Color ( 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

Color() public method

Constuctor for Color object.
public Color ( 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

Darker() public method

public Darker ( ) : Color
return Color

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

Property Details

BLACK public_oe static_oe property

public static Color BLACK
return Color

BLUE public_oe static_oe property

public static Color BLUE
return Color

CYAN public_oe static_oe property

public static Color CYAN
return Color

DARK_GRAY public_oe static_oe property

public static Color DARK_GRAY
return Color

GRAY public_oe static_oe property

public static Color GRAY
return Color

GREEN public_oe static_oe property

public static Color GREEN
return Color

LIGHT_GRAY public_oe static_oe property

public static Color LIGHT_GRAY
return Color

MAGENTA public_oe static_oe property

public static Color MAGENTA
return Color

ORANGE public_oe static_oe property

public static Color ORANGE
return Color

PINK public_oe static_oe property

public static Color PINK
return Color

RED public_oe static_oe property

public static Color RED
return Color

WHITE public_oe static_oe property

public static Color WHITE
return Color

YELLOW public_oe static_oe property

public static Color YELLOW
return Color