Euphoria
eu::Lrtb Struct Reference

offset from sides More...

Public Member Functions

constexpr Lrtb (float all)
constexpr Lrtb (float lr, float tb)
constexpr Lrtb (float l, float r, float t, float b)

Public Attributes

float left
float right
float top
float bottom

Detailed Description

offset from sides

Note
unlike css this follows the (left right) (top bottom) order

Definition at line 18 of file rect.h.

Constructor & Destructor Documentation

◆ Lrtb() [1/3]

eu::Lrtb::Lrtb ( float all)
inlineexplicitconstexpr

Definition at line 21 of file rect.h.

◆ Lrtb() [2/3]

eu::Lrtb::Lrtb ( float lr,
float tb )
inlineconstexpr

Definition at line 22 of file rect.h.

◆ Lrtb() [3/3]

eu::Lrtb::Lrtb ( float l,
float r,
float t,
float b )
inlineconstexpr

Definition at line 23 of file rect.h.

Member Data Documentation

◆ bottom

float eu::Lrtb::bottom

Definition at line 20 of file rect.h.

◆ left

float eu::Lrtb::left

Definition at line 20 of file rect.h.

◆ right

float eu::Lrtb::right

Definition at line 20 of file rect.h.

◆ top

float eu::Lrtb::top

Definition at line 20 of file rect.h.


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