JUCE
Public Member Functions | Public Attributes | List of all members
juce::FlexItem::Margin Struct Referencefinal

Represents a margin. More...

Public Member Functions

 Margin () noexcept
 Creates a margin of size zero. More...
 
 Margin (float size) noexcept
 Creates a margin with this size on all sides. More...
 
 Margin (float top, float right, float bottom, float left) noexcept
 Creates a margin with these sizes. More...
 

Public Attributes

float left
 Left margin size. More...
 
float right
 Right margin size. More...
 
float top
 Top margin size. More...
 
float bottom
 Bottom margin size. More...
 

Detailed Description

Represents a margin.

Constructor & Destructor Documentation

◆ Margin() [1/3]

juce::FlexItem::Margin::Margin ( )
noexcept

Creates a margin of size zero.

◆ Margin() [2/3]

juce::FlexItem::Margin::Margin ( float  size)
noexcept

Creates a margin with this size on all sides.

◆ Margin() [3/3]

juce::FlexItem::Margin::Margin ( float  top,
float  right,
float  bottom,
float  left 
)
noexcept

Creates a margin with these sizes.

Member Data Documentation

◆ left

float juce::FlexItem::Margin::left

Left margin size.

◆ right

float juce::FlexItem::Margin::right

Right margin size.

◆ top

float juce::FlexItem::Margin::top

Top margin size.

◆ bottom

float juce::FlexItem::Margin::bottom

Bottom margin size.


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