[]
        
(Showing Draft Content)

GrapeCity.Documents.Common.RangeF

Struct RangeF

Namespace
GrapeCity.Documents.Common
Assembly
GcDocs.Imaging.dll

Represents a range of a float value.

public struct RangeF : IEquatable<RangeF>
Implements
System.IEquatable<T><RangeF>
Inherited Members
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetType()

Constructors

RangeF(float, float)

Initializes a new instance of the RangeF struct.

public RangeF(float min, float max)

Parameters

min float

The value of Min.

max float

The value of Max.

Fields

Max

The maximum value.

public float Max

Field Value

float

Min

The minimal value.

public float Min

Field Value

float

Methods

Equals(RangeF)

public bool Equals(RangeF other)

Parameters

other RangeF

Returns

bool

Equals(object)

public override bool Equals(object obj)

Parameters

obj object

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

Multiply(float)

Multiplies this Range by the v.

public void Multiply(float v)

Parameters

v float

Offset(float)

Offsets this Range by the v.

public void Offset(float v)

Parameters

v float

ToString()

public override string ToString()

Returns

string

Operators

operator ==(RangeF, RangeF)

Tests whether two specified RangeF structs are equivalent.

public static bool operator ==(RangeF v1, RangeF v2)

Parameters

v1 RangeF
v2 RangeF

Returns

bool

operator !=(RangeF, RangeF)

Tests whether two specified RangeF structs are NOT equivalent.

public static bool operator !=(RangeF v1, RangeF v2)

Parameters

v1 RangeF
v2 RangeF

Returns

bool