TiffRational

TiffRational class

Represents a rational number.

public sealed class TiffRational : IEquatable<TiffRational>

Constructors

Name Description
TiffRational(uint, uint) Initializes a new instance of the TiffRational class.

Properties

Name Description
Denominator { get; } Gets the denominator.
Numerator { get; } Gets the numerator.
Value { get; } Gets the rational value.

Methods

Name Description
override Equals(object) Indicates whether the current object is equal to another object of the same type.
Equals(TiffRational) Indicates whether the current object is equal to another object of the same type.
override GetHashCode() Returns a hash code for this instance.
override ToString() Returns a String that represents this instance.
static Equals(TiffRational, TiffRational) Compares a pair of TiffRational numbers.
operator == Indicates whether two objects of the same type are equal.
operator != Indicates whether two objects of the same type are not equal.

See Also