Scanbot SDK
Loading...
Searching...
No Matches
RectangleF

Represents a rectangle with floating-point coordinates in 2D space. More...

Public Member Functions

 __init__ (self, float x, float y, float width, float height)
 Initializes a new instance of the RectangleF class.
 

Public Attributes

 x = x
 The x-coordinate of the top-left corner of the rectangle.
 
 y = y
 The y-coordinate of the top-left corner of the rectangle.
 
 width = width
 The width of the rectangle.
 
 height = height
 The height of the rectangle.
 

Detailed Description

Represents a rectangle with floating-point coordinates in 2D space.

Constructor & Destructor Documentation

◆ __init__()

__init__ ( self,
float x,
float y,
float width,
float height )

Initializes a new instance of the RectangleF class.

Parameters
xThe x-coordinate of the top-left corner of the rectangle.
yThe y-coordinate of the top-left corner of the rectangle.
widthThe width of the rectangle.
heightThe height of the rectangle.

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