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

#include <dom_rect_readonly.hpp>

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

Classes

struct  RectObject
 

Public Member Functions

 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 DomRectReadOnly fromRect ()
 
static DomRectReadOnly fromRect (RectObject)
 

Additional Inherited Members

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

Constructor & Destructor Documentation

◆ DomRectReadOnly()

Nui::WebApi::DomRectReadOnly::DomRectReadOnly ( Nui::val  val)
explicit

Member Function Documentation

◆ bottom()

double Nui::WebApi::DomRectReadOnly::bottom ( ) const

◆ fromRect() [1/2]

DomRectReadOnly Nui::WebApi::DomRectReadOnly::fromRect ( )
static

◆ fromRect() [2/2]

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

◆ height()

double Nui::WebApi::DomRectReadOnly::height ( ) const

◆ left()

double Nui::WebApi::DomRectReadOnly::left ( ) const

◆ right()

double Nui::WebApi::DomRectReadOnly::right ( ) const

◆ top()

double Nui::WebApi::DomRectReadOnly::top ( ) const

◆ width()

double Nui::WebApi::DomRectReadOnly::width ( ) const

◆ x()

double Nui::WebApi::DomRectReadOnly::x ( ) const

◆ y()

double Nui::WebApi::DomRectReadOnly::y ( ) const

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