nx_cloud_storage_sdk  1.0
Cloud Storage SDK
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
nx::sdk::cloud_storage::Rect Struct Reference

Public Member Functions

 Rect (const char *jsonData) noexcept(false)
 
 Rect (const nx::kit::Json &json) noexcept(false)
 
 Rect (double x, double y, double w, double h)
 
template<typename T >
 Rect (const T &)=delete
 
bool operator== (const Rect &) const
 
nx::kit::Json to_json () const
 
bool isEmpty () const
 
bool intersectsWith (const Rect &other) const
 
double left () const
 
double top () const
 
double right () const
 
double bottom () const
 

Static Public Member Functions

static ValueOrError< RectfromJson (const char *jsonStr) noexcept
 
static ValueOrError< RectfromJson (const nx::kit::Json &json) noexcept
 

Public Attributes

double x = 0
 
double y = 0
 
double w = 0
 
double h = 0
 

The documentation for this struct was generated from the following files: