• DR-IT Software
  • Products
  • Documentation
  • Product page
  • Examples
  • API reference
  • Support
Show / Hide Table of Contents

Class PercentTransform

Base class for percentage-based color transforms.

Inheritance
object
ColorTransform
PercentTransform
AlphaModulationTransform
AlphaOffsetTransform
AlphaTransform
BlueModulationTransform
BlueOffsetTransform
BlueTransform
GreenModulationTransform
GreenOffsetTransform
GreenTransform
HueModulationTransform
HueOffsetTransform
LuminanceModulationTransform
LuminanceOffsetTransform
LuminanceTransform
RedModulationTransform
RedOffsetTransform
RedTransform
SaturationModulationTransform
SaturationOffsetTransform
SaturationTransform
ShadeTransform
TintTransform
Inherited Members
object.ToString()
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetType()
object.MemberwiseClone()
Namespace: DRIT.Spreadsheet.Drawing.Colors
Assembly: DRIT.Spreadsheet.dll
Syntax
public abstract class PercentTransform : ColorTransform

Constructors

PercentTransform()

Initializes a new instance of the PercentTransform class.

Declaration
public PercentTransform()

PercentTransform(decimal)

Initializes a new instance of the PercentTransform class with a value.

Declaration
public PercentTransform(decimal value)
Parameters
Type Name Description
decimal value

The percentage value.

Properties

Ratio

Gets the ratio value (Value / 100000).

Declaration
public decimal Ratio { get; }
Property Value
Type Description
decimal

Value

Specifies the percentage value.

Declaration
public decimal Value { get; set; }
Property Value
Type Description
decimal

Methods

Equals(object)

Determines whether the specified object is equal to this transform.

Declaration
public override bool Equals(object obj)
Parameters
Type Name Description
object obj

The object to compare.

Returns
Type Description
bool

True if equal, false otherwise.

Overrides
object.Equals(object)

EqualsType(object)

Determines whether the specified object is of the same derived type.

Declaration
protected abstract bool EqualsType(object obj)
Parameters
Type Name Description
object obj

The object to compare.

Returns
Type Description
bool

True if same type, false otherwise.

GetHashCode()

Gets the hash code for this transform.

Declaration
public override int GetHashCode()
Returns
Type Description
int

The hash code.

Overrides
object.GetHashCode()
Back to top

DR-IT Software documentation

DR-IT Software · Products · Documentation index · Product page · Downloads · Support · Licensing

Generated by DocFX