Nui
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | List of all members
Nui::WebApi::DomRect Class Reference

#include <dom_rect.hpp>

Inheritance diagram for Nui::WebApi::DomRect:
Inheritance graph
[legend]
Collaboration diagram for Nui::WebApi::DomRect:
Collaboration graph
[legend]

Public Member Functions

 DomRect (Nui::val rect)
 
void x (double newX)
 
void y (double newY)
 
void width (double newWidth)
 
void height (double newHeight)
 
double x () const
 
double y () const
 
double width () const
 
double height () const
 
double top () const
 
double right () const
 
double bottom () const
 
double left () const
 
- Public Member Functions inherited from Nui::WebApi::DomRectReadOnly
 DomRectReadOnly (Nui::val val)
 
double x () const
 
double y () const
 
double width () const
 
double height () const
 
double top () const
 
double right () const
 
double bottom () const
 
double left () const
 
- Public Member Functions inherited from Nui::ValWrapper
 ValWrapper (Nui::val valObject)
 
virtual ~ValWrapper ()=default
 
 ValWrapper (ValWrapper const &)=default
 
 ValWrapper (ValWrapper &&) noexcept=default
 
ValWrapperoperator= (ValWrapper const &)=default
 
ValWrapperoperator= (ValWrapper &&) noexcept=default
 
Nui::val const & val () const &noexcept
 
Nui::val val () &&noexcept
 
 operator Nui::val const & () const &noexcept
 
 operator Nui::val () &&noexcept
 

Static Public Member Functions

static DomRect fromRect ()
 
static DomRect fromRect (RectObject)
 
- Static Public Member Functions inherited from Nui::WebApi::DomRectReadOnly
static DomRectReadOnly fromRect ()
 
static DomRectReadOnly fromRect (RectObject)
 

Additional Inherited Members

- Protected Attributes inherited from Nui::ValWrapper
Nui::val val_
 

Detailed Description

See also
https://developer.mozilla.org/en-US/docs/Web/API/Event

Constructor & Destructor Documentation

◆ DomRect()

Nui::WebApi::DomRect::DomRect ( Nui::val  rect)
explicit

Member Function Documentation

◆ bottom()

double Nui::WebApi::DomRect::bottom ( ) const
inline

◆ fromRect() [1/2]

DomRect Nui::WebApi::DomRect::fromRect ( )
static

◆ fromRect() [2/2]

DomRect Nui::WebApi::DomRect::fromRect ( RectObject  rect)
static

◆ height() [1/2]

double Nui::WebApi::DomRect::height ( ) const
inline

◆ height() [2/2]

void Nui::WebApi::DomRect::height ( double  newHeight)

◆ left()

double Nui::WebApi::DomRect::left ( ) const
inline

◆ right()

double Nui::WebApi::DomRect::right ( ) const
inline

◆ top()

double Nui::WebApi::DomRect::top ( ) const
inline

◆ width() [1/2]

double Nui::WebApi::DomRect::width ( ) const
inline

◆ width() [2/2]

void Nui::WebApi::DomRect::width ( double  newWidth)

◆ x() [1/2]

double Nui::WebApi::DomRect::x ( ) const
inline

◆ x() [2/2]

void Nui::WebApi::DomRect::x ( double  newX)

◆ y() [1/2]

double Nui::WebApi::DomRect::y ( ) const
inline

◆ y() [2/2]

void Nui::WebApi::DomRect::y ( double  newY)

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