GPAL - Generally Positive Automation Library v1.0
GPAL The Fluent Automation LIbrary
Loading...
Searching...
No Matches
GenerallyPositive.ClientRectangle Class Reference

Represents a client-side bounding rectangle (similar to DOMRect) with additional convenience properties. More...

Public Member Functions

Dictionary< string, object > ToDictionary ()
 Converts the rectangle properties to a dictionary for easy serialization or logging.
 ClientRectangle ()
 Creates an empty ClientRectangle.

Properties

float Top [get, set]
 Gets or sets the top coordinate.
float Left [get, set]
 Gets or sets the left coordinate.
float Bottom [get, set]
 Gets or sets the bottom coordinate.
float Right [get, set]
 Gets or sets the right coordinate.
float X [get, set]
 Gets or sets the X coordinate.
float Y [get, set]
 Gets or sets the Y coordinate.
float Width [get, set]
 Gets or sets the width.
float Height [get, set]
 Gets or sets the height.
Size Size [get, set]
 Gets or sets the Size as a System.Drawing.Size.
bool IsEmpty [get]
 Determines whether the rectangle has zero dimensions and position.

Detailed Description

Represents a client-side bounding rectangle (similar to DOMRect) with additional convenience properties.

Definition at line 63 of file GPALElement.cs.

Constructor & Destructor Documentation

◆ ClientRectangle()

GenerallyPositive.ClientRectangle.ClientRectangle ( )

Creates an empty ClientRectangle.

Definition at line 125 of file GPALElement.cs.

Member Function Documentation

◆ ToDictionary()

Dictionary< string, object > GenerallyPositive.ClientRectangle.ToDictionary ( )

Converts the rectangle properties to a dictionary for easy serialization or logging.

Returns
Dictionary containing all rectangle properties.

Definition at line 99 of file GPALElement.cs.

Property Documentation

◆ Bottom

float GenerallyPositive.ClientRectangle.Bottom
getset

Gets or sets the bottom coordinate.

Definition at line 70 of file GPALElement.cs.

◆ Height

float GenerallyPositive.ClientRectangle.Height
getset

Gets or sets the height.

Definition at line 80 of file GPALElement.cs.

◆ IsEmpty

bool GenerallyPositive.ClientRectangle.IsEmpty
get

Determines whether the rectangle has zero dimensions and position.

Definition at line 132 of file GPALElement.cs.

◆ Left

float GenerallyPositive.ClientRectangle.Left
getset

Gets or sets the left coordinate.

Definition at line 68 of file GPALElement.cs.

◆ Right

float GenerallyPositive.ClientRectangle.Right
getset

Gets or sets the right coordinate.

Definition at line 72 of file GPALElement.cs.

◆ Size

Size GenerallyPositive.ClientRectangle.Size
getset

Gets or sets the Size as a System.Drawing.Size.

Definition at line 85 of file GPALElement.cs.

◆ Top

float GenerallyPositive.ClientRectangle.Top
getset

Gets or sets the top coordinate.

Definition at line 66 of file GPALElement.cs.

◆ Width

float GenerallyPositive.ClientRectangle.Width
getset

Gets or sets the width.

Definition at line 78 of file GPALElement.cs.

◆ X

float GenerallyPositive.ClientRectangle.X
getset

Gets or sets the X coordinate.

Definition at line 74 of file GPALElement.cs.

◆ Y

float GenerallyPositive.ClientRectangle.Y
getset

Gets or sets the Y coordinate.

Definition at line 76 of file GPALElement.cs.


The documentation for this class was generated from the following file: