skip navigation
  • Product Bundles

    DevCraft

    All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:

    • AI Coding Assistants
    • Embedded Reporting
    • Document Processing Libraries
    • SSO Account Sign-in

    Web

    Kendo UI UI for Angular UI for Vue UI for jQuery KendoReact UI for Blazor UI for ASP.NET Core UI for ASP.NET MVC UI for ASP.NET AJAX

    Mobile

    UI for .NET MAUI

    Document Management

    Telerik Document Processing

    Desktop

    UI for .NET MAUI UI for WinUI UI for WinForms UI for WPF

    Reporting

    Telerik Reporting Telerik Report Server

    Testing & Mocking

    Test Studio Telerik JustMock

    CMS

    Sitefinity

    AI Productivity Tools

    AI Coding Assistants

    UI/UX Tools

    ThemeBuilder Design System Kit Templates and Building Blocks

    Debugging

    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Everywhere Reporter FiddlerCore

    Free Tools

    KendoReact Free VB.NET to C# Converter Testing Framework
    View all products
  • Overview
  • Demos
    • What's New
    • Roadmap
    • Release History
  • Support and Learning

    • Support and Learning Hub
    • First Steps
    • Docs
    • Demos
    • Virtual Classroom
    • Forums
    • Videos
    • Blogs
    • Accessibility
    • Submit a Ticket

    Productivity and Design Tools

    • Visual Studio Extensions
    • Visual Studio Templates
    • Embedded Reporting
  • Pricing
  • Shopping cart
    • Account Overview
    • Your Licenses
    • Downloads
    • Support Center
    • Forum Profile
    • Payment Methods
    • Edit Profile
    • Log out
  • Login
  • Contact Us
  • Try now

Struct RectangleL

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

Inherited Members
System.ValueType.ToString()
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetType()
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

Gets an empty RectangleL

Declaration
public static readonly RectangleL Empty
Field Value
RectangleL

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

Gets or sets the size.

Declaration
public SizeL Size { get; set; }
Property Value
SizeL

The 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

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

Contains(PointL)

Determines whether this rectangle contains the specified point.

Declaration
public bool Contains(PointL point)
Parameters
PointL point

The point.

Returns
System.Boolean

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

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

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

Overrides
System.ValueType.Equals(System.Object)

Equals(RectangleL)

Declaration
public bool Equals(RectangleL other)
Parameters
RectangleL other

Returns
System.Boolean

Implements
System.IEquatable<T>.Equals(T)

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
System.ValueType.GetHashCode()

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

true if XXXX, false otherwise.

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

Extension Methods

SvgExtentions.Traverse<T>(T, Func<T, IEnumerable<T>>)
SvgExtentions.TraverseDepthFirst<T>(T, Func<T, IEnumerable<T>>)
Getting Started
  • Install Now
  • Demos
  • Step-by-Step Tutorial
  • Sample Applications
  • SDK Samples
  • Visual Studio Extensions
Support Resources
  • Code Library
  • Knowledge Base
  • Videos
Community
  • Forums
  • Blogs
  • Feedback Portal
  • Document Processing Feedback Portal

Copyright © 2018 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks for appropriate markings.