Class PercentTransform
Represents the percent transform used by the presentation model.
Inheritance
PercentTransform
Inherited Members
Namespace: DRIT.Presentation.Drawing.Colors
Assembly: DRIT.Presentation.dll
Syntax
public abstract class PercentTransform : ColorTransform
Constructors
PercentTransform()
Initializes a new instance of the percent transform class.
Declaration
public PercentTransform()
PercentTransform(decimal)
Initializes a new instance of the percent transform class.
Declaration
public PercentTransform(decimal value)
Parameters
| Type | Name | Description |
|---|---|---|
| decimal | value | The value supplied to this operation. |
Properties
Ratio
Gets or sets the ratio associated with this object.
Declaration
public decimal Ratio { get; }
Property Value
| Type | Description |
|---|---|
| decimal |
Value
Gets or sets the value associated with this object.
Declaration
public decimal Value { get; set; }
Property Value
| Type | Description |
|---|---|
| decimal |
Methods
Equals(object)
Determines whether this value matches the supplied value.
Declaration
public override bool Equals(object obj)
Parameters
| Type | Name | Description |
|---|---|---|
| object | obj | The object to compare with this value. |
Returns
| Type | Description |
|---|---|
| bool | true if the operation succeeds; otherwise, false. |
Overrides
EqualsType(object)
Determines whether this value matches the supplied value.
Declaration
protected abstract bool EqualsType(object obj)
Parameters
| Type | Name | Description |
|---|---|---|
| object | obj | The object to compare with this value. |
Returns
| Type | Description |
|---|---|
| bool | true if the operation succeeds; otherwise, false. |
GetHashCode()
Returns the hash code for this value.
Declaration
public override int GetHashCode()
Returns
| Type | Description |
|---|---|
| int | The get hash code value produced by the operation. |