Int32AxisDelta
Defines an Int32 Delta, which provides Major and Minor deltas as used in NumericAxis
Implements: IAxisDelta<int>, IAxisDelta, ICloneable, IEquatable<Int32AxisDelta>
Constructors
public Int32AxisDelta()
int32AxisDelta = Int32AxisDelta()
Initializes a new instance of the Int32AxisDelta class.
public Int32AxisDelta(int minorDelta, int majorDelta)
int32AxisDelta = Int32AxisDelta(minorDelta, majorDelta)
Initializes a new instance of the Int32AxisDelta class.
- minorDelta
- The minor delta.
- majorDelta
- The major delta.
Properties
public int MajorDelta { get; set; }
value = int32AxisDelta.MajorDelta
int32AxisDelta.MajorDelta = value
Gets or sets the major delta.
public int MinorDelta { get; set; }
value = int32AxisDelta.MinorDelta
int32AxisDelta.MinorDelta = value
Gets or sets the minor delta.
Methods
public override bool Equals(object obj)
result = int32AxisDelta.Equals(obj)
Determines whether the specified Object is equal to this instance.
- obj
- The Object to compare with the current Object.
Returns: true if the specified Object is equal to this instance; otherwise, false.
public bool Equals(Int32AxisDelta other)
result = int32AxisDelta.Equals(other)
Indicates whether the current object is equal to another object of the same type.
- other
- An object to compare with this object.
Returns: true if the current object is equal to the parameter; otherwise, false.
public override int GetHashCode()
result = int32AxisDelta.GetHashCode()
Returns a hash code for this instance.
Returns: A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table.
public static bool op_Equality(Int32AxisDelta left, Int32AxisDelta right)
result = Int32AxisDelta.op_Equality(left, right)
Implements the operator ==.
- left
- The left.
- right
- The right.
Returns: The result of the operator.
public static bool op_Inequality(Int32AxisDelta left, Int32AxisDelta right)
result = Int32AxisDelta.op_Inequality(left, right)
Implements the operator !=.
- left
- The left.
- right
- The right.
Returns: The result of the operator.
public override string ToString()
result = int32AxisDelta.ToString()
Returns a String that represents this instance.
Returns: A String that represents this instance.