JUCE  v6.1.6 (6.0.8-1114)
JUCE API
Looking for a senior C++ dev?
I'm looking for work. Hire me!
juce::FlexItem::Margin Struct Referencefinal

Represents a margin. More...

#include <juce_FlexItem.h>

Collaboration diagram for juce::FlexItem::Margin:

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 bottom
 Bottom margin size. More...
 
float left
 Left margin size. More...
 
float right
 Right margin size. More...
 
float top
 Top 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

◆ bottom

float juce::FlexItem::Margin::bottom

Bottom margin size.

◆ 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.


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