Struct
LocationRect

Represents a rectangular area defined by northwest and southeast locations.

Definition

Namespace:Telerik.Maui.Controls.ShapefileReader

Assembly:Telerik.Maui.Controls.dll

Syntax:

cs-api-definition
public struct LocationRect

Inherited Members ValueType.ToString()

Constructors

LocationRect(Location, Location)

Initializes a new instance of the LocationRect struct.

Declaration

cs-api-definition
public LocationRect(Location northwest, Location southeast)

Parameters

northwest

Location

The northwest.

southeast

Location

The southeast.

Fields

Empty

An empty rect.

Declaration

cs-api-definition
public static readonly LocationRect Empty

Field Value

LocationRect

Properties

East

Gets the east value of the rect.

Declaration

cs-api-definition
public double East { get; }

Property Value

double

IsEmpty

Gets a value indicating whether the current rect is empty.

Declaration

cs-api-definition
public bool IsEmpty { get; }

Property Value

bool

North

Gets the north value of the rect.

Declaration

cs-api-definition
public double North { get; }

Property Value

double

Northwest

Gets the northwest value of the rect.

Declaration

cs-api-definition
public readonly Location Northwest { get; }

Property Value

Location

South

Gets the south value of the rect.

Declaration

cs-api-definition
public double South { get; }

Property Value

double

Southeast

Gets the southeast value of the rect.

Declaration

cs-api-definition
public readonly Location Southeast { get; }

Property Value

Location

West

Gets the west value of the rect.

Declaration

cs-api-definition
public double West { get; }

Property Value

double

Methods

Equals(LocationRect, LocationRect)

Checks whether two LocationRect values are equal.

Declaration

cs-api-definition
public static bool Equals(LocationRect locationRect1, LocationRect locationRect2)

Parameters

locationRect1

LocationRect

locationRect2

LocationRect

Returns

bool

Equals(object)

Determines whether the specified object is equal to this instance.

Declaration

cs-api-definition
public override bool Equals(object obj)

Parameters

obj

object

The object to compare with this instance.

Returns

bool

true if the specified object is equal to this instance; otherwise, false.

Overrides ValueType.Equals(object)

GetHashCode()

Returns a hash code for this instance.

Declaration

cs-api-definition
public override int GetHashCode()

Returns

int

A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table.

Overrides ValueType.GetHashCode()

Operators

operator !=(LocationRect, LocationRect)

Checks whether two LocationRect values are not equal.

Declaration

cs-api-definition
public static bool operator !=(LocationRect locationRect1, LocationRect locationRect2)

Parameters

locationRect1

LocationRect

locationRect2

LocationRect

Returns

bool

operator ==(LocationRect, LocationRect)

Checks whether two LocationRect values are equal.

Declaration

cs-api-definition
public static bool operator ==(LocationRect locationRect1, LocationRect locationRect2)

Parameters

locationRect1

LocationRect

locationRect2

LocationRect

Returns

bool