Struct RectangleL
Represents a rectangle in cartesian coordinate system represented with Int64 values.
Inherited Members
Namespace: Telerik.WinControls.UI.Map
Assembly: Telerik.WinControls.RadMap.dll
Syntax
public struct RectangleL : IEquatable<RectangleL>
Constructors
RectangleL(Int64, Int64, Int64, Int64)
Initializes a new instance of the Rectangle
Declaration
public RectangleL(long x, long y, long width, long height)
Parameters
System. The x. |
System. The y. |
System. The width. |
System. The height. |
RectangleL(PointL, SizeL)
Initializes a new instance of the Rectangle
Declaration
public RectangleL(PointL location, SizeL size)
Parameters
Fields
Empty
Properties
Bottom
Gets the bottom coordinate.
Declaration
public long Bottom { get; }
Property Value
System. The bottom coordinate. |
Height
Gets or sets the height.
Declaration
public long Height { get; set; }
Property Value
System. The height. |
Location
Gets or sets the location.
Declaration
public PointL Location { get; set; }
Property Value
Point The location. |
Right
Gets the right coordinate.
Declaration
public long Right { get; }
Property Value
System. The right coordinate. |
Size
Width
Gets or sets the width.
Declaration
public long Width { get; set; }
Property Value
System. The width. |
X
Gets or sets the x coordinate.
Declaration
public long X { get; set; }
Property Value
System. The x coordinate. |
Y
Gets or sets the y coordinate.
Declaration
public long Y { get; set; }
Property Value
System. The y coordinate. |
Methods
Contains(Int64, Int64)
Determines whether this rectangle contains the specified point.
Declaration
public bool Contains(long x, long y)
Parameters
System. The x. |
System. The y. |
Returns
System.
|
Contains(PointL)
Determines whether this rectangle contains the specified point.
Declaration
public bool Contains(PointL point)
Parameters
Point The point. |
Returns
System.
|
Equals(Object)
Determines whether the specified System.
Declaration
public override bool Equals(object obj)
Parameters
System. The System. |
Returns
System.
|
Overrides
Equals(RectangleL)
Declaration
public bool Equals(RectangleL other)
Parameters
Rectangle
|
Returns
System.
|
Implements
GetHashCode()
Returns a hash code for this instance.
Declaration
public override int GetHashCode()
Returns
System. A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table. |
Overrides
IntersectsWith(RectangleL)
Gets a value indicating whether this rectangle intersects with the provided one.
Declaration
public bool IntersectsWith(RectangleL rect)
Parameters
Rectangle The rect. |
Returns
System.
|
Offset(Int64, Int64)
Offsets this rectangle with the specified delta.
Declaration
public void Offset(long deltaX, long deltaY)
Parameters
System. The delta x. |
System. The delta y. |
Offset(SizeL)
Offsets this rectangle with the specified delta.
Declaration
public void Offset(SizeL delta)
Parameters
Size The delta. |
Operators
Implicit(RectangleF to RectangleL)
Declaration
public static implicit operator RectangleL(RectangleF rect)
Parameters
System.
|
Returns
Implicit(RectangleL to RectangleF)
Declaration
public static implicit operator RectangleF(RectangleL rect)
Parameters
Rectangle
|
Returns
System.
|