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 RectangleL struct.
Declaration
public RectangleL(long x, long y, long width, long height)
Parameters
System.Int64
x
The x. |
System.Int64
y
The y. |
System.Int64
width
The width. |
System.Int64
height
The height. |
RectangleL(PointL, SizeL)
Initializes a new instance of the RectangleL struct.
Declaration
public RectangleL(PointL location, SizeL size)
Parameters
PointL
location
The location. |
SizeL
size
The size. |
Fields
Empty
Properties
Bottom
Gets the bottom coordinate.
Declaration
public long Bottom { get; }
Property Value
System.Int64
The bottom coordinate. |
Height
Gets or sets the height.
Declaration
public long Height { get; set; }
Property Value
System.Int64
The height. |
Location
Gets or sets the location.
Declaration
public PointL Location { get; set; }
Property Value
PointL
The location. |
Right
Gets the right coordinate.
Declaration
public long Right { get; }
Property Value
System.Int64
The right coordinate. |
Size
Width
Gets or sets the width.
Declaration
public long Width { get; set; }
Property Value
System.Int64
The width. |
X
Gets or sets the x coordinate.
Declaration
public long X { get; set; }
Property Value
System.Int64
The x coordinate. |
Y
Gets or sets the y coordinate.
Declaration
public long Y { get; set; }
Property Value
System.Int64
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.Int64
x
The x. |
System.Int64
y
The y. |
Returns
System.Boolean
|
Contains(PointL)
Determines whether this rectangle contains the specified point.
Declaration
public bool Contains(PointL point)
Parameters
PointL
point
The point. |
Returns
System.Boolean
|
Equals(Object)
Determines whether the specified System.Object is equal to this instance.
Declaration
public override bool Equals(object obj)
Parameters
System.Object
obj
The System.Object to compare with this instance. |
Returns
System.Boolean
|
Overrides
Equals(RectangleL)
Declaration
public bool Equals(RectangleL other)
Parameters
RectangleL
other
|
Returns
System.Boolean
|
Implements
GetHashCode()
Returns a hash code for this instance.
Declaration
public override int GetHashCode()
Returns
System.Int32
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
RectangleL
rect
The rect. |
Returns
System.Boolean
|
Offset(Int64, Int64)
Offsets this rectangle with the specified delta.
Declaration
public void Offset(long deltaX, long deltaY)
Parameters
System.Int64
deltaX
The delta x. |
System.Int64
deltaY
The delta y. |
Offset(SizeL)
Offsets this rectangle with the specified delta.
Declaration
public void Offset(SizeL delta)
Parameters
SizeL
delta
The delta. |
Operators
Implicit(RectangleF to RectangleL)
Declaration
public static implicit operator RectangleL(RectangleF rect)
Parameters
System.Drawing.RectangleF
rect
|
Returns
RectangleL
|
Implicit(RectangleL to RectangleF)
Declaration
public static implicit operator RectangleF(RectangleL rect)
Parameters
RectangleL
rect
|
Returns
System.Drawing.RectangleF
|