RectangleL
Represents a rectangle in cartesian coordinate system represented with Int64 values.
Definition
Namespace:Telerik.WinControls.UI.Map
Assembly:Telerik.WinControls.RadMap.dll
Syntax:
public struct RectangleL : IEquatable<RectangleL>
Implements:
Constructors
Initializes a new instance of the RectangleL struct.
Initializes a new instance of the RectangleL struct.
Fields
Gets an empty RectangleL
public static readonly RectangleL Empty
Properties
Gets the bottom coordinate.
public long Bottom { get; }
The bottom coordinate.
Gets or sets the location.
public PointL Location { get; set; }
The location.
Gets the right coordinate.
public long Right { get; }
The right coordinate.
Methods
Determines whether another rectangle has the same location and size.
public bool Equals(RectangleL other)
The rectangle to compare with this instance.
Returns:true if the coordinates and dimensions match; otherwise, false.
Implements:
Returns a hash code for this instance.
public override int GetHashCode()
A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table.
Overrides:
Gets a value indicating whether this rectangle intersects with the provided one.
public bool IntersectsWith(RectangleL rect)
The rect.
Returns:true if XXXX, false otherwise.
Offsets this rectangle with the specified delta.
Operators
Converts the 64-bit rectangle coordinates and dimensions to single precision; large values may lose precision.
public static implicit operator RectangleF(RectangleL rect)
The rectangle to convert.
Returns:A RectangleF with the converted values.
Converts the single-precision coordinates and dimensions to 64-bit integers by truncating fractional parts.
public static implicit operator RectangleL(RectangleF rect)
The rectangle to convert.
Returns:A RectangleL with the converted values.