WYSWYG editor for JUCE GUIs including Visualisers
Loading...
Searching...
No Matches
Box< T > Struct Template Reference

#include <foleys_BoxModel.h>

Public Member Functions

 Box ()=default
 
 Box (T value)
 
juce::Rectangle< T > reducedRect (juce::Rectangle< T > rect) const
 

Static Public Member Functions

static Box fromString (const juce::String &text)
 

Public Attributes

top = {}
 
left = {}
 
right = {}
 
bottom = {}
 

Constructor & Destructor Documentation

◆ Box() [1/2]

template<typename T >
Box ( )
default

◆ Box() [2/2]

template<typename T >
Box ( T value)

Member Function Documentation

◆ fromString()

template<typename T >
static Box fromString ( const juce::String & text)
static

◆ reducedRect()

template<typename T >
juce::Rectangle< T > reducedRect ( juce::Rectangle< T > rect) const

Member Data Documentation

◆ top

template<typename T >
T top = {}

◆ left

template<typename T >
T left = {}

◆ right

template<typename T >
T right = {}

◆ bottom

template<typename T >
T bottom = {}

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