Show / Hide Table of Contents

Class Rect

Inheritance
System.Object
Rect
Implements
JsonSerializable
Namespace: IgniteUI.Blazor.Controls
Assembly: IgniteUI.Blazor.dll
Syntax
public class Rect : Object, JsonSerializable

Constructors

Rect()

Declaration
public Rect()

Rect(Point, Point)

Declaration
public Rect(Point point1, Point point2)
Parameters
Type Name Description
Point point1
Point point2

Rect(Point, Size)

Declaration
public Rect(Point point1, Size size)
Parameters
Type Name Description
Point point1
Size size

Rect(Double, Double, Size)

Declaration
public Rect(double left, double top, Size size)
Parameters
Type Name Description
System.Double left
System.Double top
Size size

Rect(Double, Double, Double, Double)

Declaration
public Rect(double left, double top, double width, double height)
Parameters
Type Name Description
System.Double left
System.Double top
System.Double width
System.Double height

Properties

Bottom

Declaration
public double Bottom { get; set; }
Property Value
Type Description
System.Double

Empty

Declaration
public static Rect Empty { get; }
Property Value
Type Description
Rect

Height

Declaration
public double Height { get; set; }
Property Value
Type Description
System.Double

IsEmpty

Declaration
public bool IsEmpty { get; }
Property Value
Type Description
System.Boolean

Left

Declaration
public double Left { get; set; }
Property Value
Type Description
System.Double

Right

Declaration
public double Right { get; set; }
Property Value
Type Description
System.Double

Top

Declaration
public double Top { get; set; }
Property Value
Type Description
System.Double

Width

Declaration
public double Width { get; set; }
Property Value
Type Description
System.Double

X

Declaration
public double X { get; set; }
Property Value
Type Description
System.Double

Y

Declaration
public double Y { get; set; }
Property Value
Type Description
System.Double

Methods

Equals(Object)

Declaration
public override bool Equals(object value)
Parameters
Type Name Description
System.Object value
Returns
Type Description
System.Boolean

Serialize(SerializationContext, String)

Declaration
public void Serialize(SerializationContext c, string propertyName = null)
Parameters
Type Name Description
SerializationContext c
System.String propertyName

Implements

JsonSerializable