JUCE-7.0.12-0-g4f43011b96 JUCE-7.0.12-0-g4f43011b96
JUCE — C++ application framework with suport for VST, VST3, LV2 audio plug-ins

« « « Anklang Documentation
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
juce::FlexItem::Margin Struct Referencefinal

Represents a margin. More...

#include "juce_FlexItem.h"

Public Member Functions

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

Public Attributes

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

Detailed Description

Represents a margin.

Definition at line 124 of file juce_FlexItem.h.

Constructor & Destructor Documentation

◆ Margin() [1/3]

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

Creates a margin of size zero.

Definition at line 803 of file juce_FlexBox.cpp.

◆ Margin() [2/3]

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

Creates a margin with this size on all sides.

Definition at line 804 of file juce_FlexBox.cpp.

◆ Margin() [3/3]

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

Creates a margin with these sizes.

Definition at line 805 of file juce_FlexBox.cpp.

Member Data Documentation

◆ bottom

float juce::FlexItem::Margin::bottom

Bottom margin size.

Definition at line 133 of file juce_FlexItem.h.

◆ left

float juce::FlexItem::Margin::left

Left margin size.

Definition at line 130 of file juce_FlexItem.h.

◆ right

float juce::FlexItem::Margin::right

Right margin size.

Definition at line 131 of file juce_FlexItem.h.

◆ top

float juce::FlexItem::Margin::top

Top margin size.

Definition at line 132 of file juce_FlexItem.h.


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