menu

ASP.NET MVC

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class Rectangle

    Show / Hide Table of Contents

    Class Rectangle

    Inheritance
    System.Object
    Rectangle
    Inherited Members
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: Syncfusion.JavaScript.DataVisualization.Models.Diagram
    Assembly: Syncfusion.EJ.dll
    Syntax
    public class Rectangle

    Constructors

    Rectangle()

    Initializes a new instance of the Syncfusion.JavaScript.DataVisualization.Models.Diagram.Bounds class.

    Declaration
    public Rectangle()

    Rectangle(Double, Double, Double, Double)

    Initializes a new instance of the Syncfusion.JavaScript.DataVisualization.Models.Diagram.Bounds class.

    Declaration
    public Rectangle(double x, double y, double width, double height)
    Parameters
    Type Name Description
    System.Double x
    System.Double y
    System.Double width
    System.Double height

    Properties

    Height

    Gets or sets the height of the layout bounds from start point

    Declaration
    [JsonProperty("height")]
    public double Height { get; set; }
    Property Value
    Type Description
    System.Double

    0

    Examples
               DiagramProperties Model = new DiagramProperties();
               Model.Layout.Bounds.Height = 100;

    Width

    Gets or sets the width of the layout bounds from start point

    Declaration
    [JsonProperty("width")]
    public double Width { get; set; }
    Property Value
    Type Description
    System.Double

    0

    Examples
               DiagramProperties Model = new DiagramProperties();
               Model.Layout.Bounds.Width = 100;

    X

    Gets or sets the start point of the layout bounds on x direction

    Declaration
    [JsonProperty("x")]
    public double X { get; set; }
    Property Value
    Type Description
    System.Double

    0

    Examples
               DiagramProperties Model = new DiagramProperties();
               Model.Layout.Bounds.X = 10;

    Y

    Gets or sets the start point of the layout bounds on y direction

    Declaration
    [JsonProperty("y")]
    public double Y { get; set; }
    Property Value
    Type Description
    System.Double

    0

    Examples
               DiagramProperties Model = new DiagramProperties();
               Model.Layout.Bounds.y = 10;
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved