Struct
RectangleL

Represents a rectangle in cartesian coordinate system represented with Int64 values.

Definition

Namespace:Telerik.WinControls.UI.Map

Assembly:Telerik.WinControls.RadMap.dll

Syntax:

cs-api-definition
public struct RectangleL : IEquatable<RectangleL>

Implements: IEquatable<RectangleL>

Inherited Members ValueType.ToString()

Constructors

RectangleL(PointL, SizeL)

Initializes a new instance of the RectangleL struct.

Declaration

cs-api-definition
public RectangleL(PointL location, SizeL size)

Parameters

location

PointL

The location.

size

SizeL

The size.

RectangleL(long, long, long, long)

Initializes a new instance of the RectangleL struct.

Declaration

cs-api-definition
public RectangleL(long x, long y, long width, long height)

Parameters

x

long

The x.

y

long

The y.

width

long

The width.

height

long

The height.

Fields

Empty

Gets an empty RectangleL

Declaration

cs-api-definition
public static readonly RectangleL Empty

Field Value

RectangleL

Properties

Bottom

Gets the bottom coordinate.

Declaration

cs-api-definition
public long Bottom { get; }

Property Value

long

The bottom coordinate.

Height

Gets or sets the height.

Declaration

cs-api-definition
public long Height { get; set; }

Property Value

long

The height.

Location

Gets or sets the location.

Declaration

cs-api-definition
public PointL Location { get; set; }

Property Value

PointL

The location.

Right

Gets the right coordinate.

Declaration

cs-api-definition
public long Right { get; }

Property Value

long

The right coordinate.

Size

Gets or sets the size.

Declaration

cs-api-definition
public SizeL Size { get; set; }

Property Value

SizeL

The size.

Width

Gets or sets the width.

Declaration

cs-api-definition
public long Width { get; set; }

Property Value

long

The width.

X

Gets or sets the x coordinate.

Declaration

cs-api-definition
public long X { get; set; }

Property Value

long

The x coordinate.

Y

Gets or sets the y coordinate.

Declaration

cs-api-definition
public long Y { get; set; }

Property Value

long

The y coordinate.

Methods

Contains(PointL)

Determines whether this rectangle contains the specified point.

Declaration

cs-api-definition
public bool Contains(PointL point)

Parameters

point

PointL

The point.

Returns

bool

true if this rectangle contains the specified point; otherwise, false.

Contains(long, long)

Determines whether this rectangle contains the specified point.

Declaration

cs-api-definition
public bool Contains(long x, long y)

Parameters

x

long

The x.

y

long

The y.

Returns

bool

true if this rectangle contains the specified point; otherwise, false.

Equals(RectangleL)

Declaration

cs-api-definition
public bool Equals(RectangleL other)

Parameters

other

RectangleL

Returns

bool

Implements IEquatable<RectangleL>.Equals(RectangleL)

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()

IntersectsWith(RectangleL)

Gets a value indicating whether this rectangle intersects with the provided one.

Declaration

cs-api-definition
public bool IntersectsWith(RectangleL rect)

Parameters

rect

RectangleL

The rect.

Returns

bool

true if XXXX, false otherwise.

Offset(SizeL)

Offsets this rectangle with the specified delta.

Declaration

cs-api-definition
public void Offset(SizeL delta)

Parameters

delta

SizeL

The delta.

Offset(long, long)

Offsets this rectangle with the specified delta.

Declaration

cs-api-definition
public void Offset(long deltaX, long deltaY)

Parameters

deltaX

long

The delta x.

deltaY

long

The delta y.

Operators

implicit operator RectangleF(RectangleL)

Declaration

cs-api-definition
public static implicit operator RectangleF(RectangleL rect)

Parameters

rect

RectangleL

Returns

RectangleF

implicit operator RectangleL(RectangleF)

Declaration

cs-api-definition
public static implicit operator RectangleL(RectangleF rect)

Parameters

rect

RectangleF

Returns

RectangleL