BaseColor Public class
Description
Base class for Color, serves as wrapper class for Color to allow extension.
Diagram
flowchart LR
classDef interfaceStyle stroke-dasharray: 5 5;
classDef abstractStyle stroke-width:4px
subgraph iTextSharp.text
iTextSharp.text.BaseColor[[BaseColor]]
end
Members
Properties
Public properties
| Type | Name | Methods |
|---|
int | A | get |
int | B | get |
int | G | get |
int | R | get |
int | RGB | get |
Methods
Public methods
Protected internal methods
| Returns | Name |
|---|
void | SetValue(int red, int green, int blue, int alpha) |
Details
Summary
Base class for Color, serves as wrapper class for Color to allow extension.
Constructors
BaseColor [1/6]
Source code
public BaseColor(int red, int green, int blue, int alpha)
Arguments
| Type | Name | Description |
|---|
int | red | |
int | green | |
int | blue | |
int | alpha | |
BaseColor [2/6]
Source code
public BaseColor(int red, int green, int blue)
Arguments
| Type | Name | Description |
|---|
int | red | |
int | green | |
int | blue | |
BaseColor [3/6]
Source code
public BaseColor(float red, float green, float blue, float alpha)
Arguments
| Type | Name | Description |
|---|
float | red | |
float | green | |
float | blue | |
float | alpha | |
BaseColor [4/6]
Source code
public BaseColor(float red, float green, float blue)
Arguments
| Type | Name | Description |
|---|
float | red | |
float | green | |
float | blue | |
BaseColor [5/6]
Source code
public BaseColor(int argb)
Arguments
| Type | Name | Description |
|---|
int | argb | |
BaseColor [6/6]
Source code
public BaseColor(Color color)
Arguments
| Type | Name | Description |
|---|
Color | color | |
Methods
Brighter
Source code
public virtual BaseColor Brighter()
Darker
Source code
public virtual BaseColor Darker()
ToArgb
Source code
public virtual int ToArgb()
Equals
Source code
public override bool Equals(object obj)
Arguments
| Type | Name | Description |
|---|
object | obj | |
GetHashCode
Source code
public override int GetHashCode()
SetValue
Source code
protected internal virtual void SetValue(int red, int green, int blue, int alpha)
Arguments
| Type | Name | Description |
|---|
int | red | |
int | green | |
int | blue | |
int | alpha | |
ToString
Source code
public override string ToString()
Properties
RGB
public virtual int RGB { get; }
R
public virtual int R { get; }
G
public virtual int G { get; }
B
public virtual int B { get; }
A
public virtual int A { get; }
Generated with ModularDoc