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

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

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

FlexItem::Margin::Margin ( )
noexcept

Creates a margin of size zero.

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

Creates a margin with this size on all sides.

Member Data Documentation

float FlexItem::Margin::left

Left margin size.

float FlexItem::Margin::right

Right margin size.

float FlexItem::Margin::top

Top margin size.

float FlexItem::Margin::bottom

Bottom margin size.


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