Skip to main content
Skip table of contents

BaseColor

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
TypeNameMethods
intAget
intBget
intGget
intRget
intRGBget

Methods

Public methods
ReturnsName
BaseColorBrighter()
BaseColorDarker()
boolEquals(object obj)
intGetHashCode()
intToArgb()
stringToString()
Protected internal methods
ReturnsName
voidSetValue(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
TypeNameDescription
intred
intgreen
intblue
intalpha
BaseColor [2/6]
Source code
public BaseColor(int red, int green, int blue)
Arguments
TypeNameDescription
intred
intgreen
intblue
BaseColor [3/6]
Source code
public BaseColor(float red, float green, float blue, float alpha)
Arguments
TypeNameDescription
floatred
floatgreen
floatblue
floatalpha
BaseColor [4/6]
Source code
public BaseColor(float red, float green, float blue)
Arguments
TypeNameDescription
floatred
floatgreen
floatblue
BaseColor [5/6]
Source code
public BaseColor(int argb)
Arguments
TypeNameDescription
intargb
BaseColor [6/6]
Source code
public BaseColor(Color color)
Arguments
TypeNameDescription
Colorcolor

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
TypeNameDescription
objectobj
GetHashCode
Source code
public override int GetHashCode()
SetValue
Source code
protected internal virtual void SetValue(int red, int green, int blue, int alpha)
Arguments
TypeNameDescription
intred
intgreen
intblue
intalpha
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

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.