Click or drag to resize

RangeT Class

Range represents an orderable range of values.
Inheritance Hierarchy
SystemObject
  Atalasoft.PdfDoc.GeometryRangeT

Namespace:  Atalasoft.PdfDoc.Geometry
Assembly:  Atalasoft.PdfDoc (in Atalasoft.PdfDoc.dll) Version: 11.4.0.9.0.377 (.NET 4.5.2, x86)
Syntax
public class Range<T>
where T : IComparable

Type Parameters

T

The RangeT type exposes the following members.

Constructors
  NameDescription
Public methodRangeT
Initializes a new instance of the RangeT class.
Top
Properties
  NameDescription
Public propertyFirst
Gets the first element in the range.
Public propertyIsDecreasing
Returns true if Second is less than or equal to First.
Public propertyIsIncreasing
Returns true if Second is greater than or equal to First.
Public propertyIsStrictlyDecreasing
Returns true if Second is less than First.
Public propertyIsStrictlyIncreasing
Returns true if Second is greater than First.
Public propertySecond
Gets the second element in the range.
Top
Methods
  NameDescription
Public methodClamp(T)
Clamps the specified value within the given range. The order of First and Second is unimportant.
Public methodClamp(RangeT)
Clamps the given other range to be within this range. This is done by clamping each of other.First and other.Second to be within this range. Order is unimportant.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also