openshot-audio
0.1.4
|
#include <juce_graphics.h>
Public Member Functions | |
BorderSize () noexcept | |
BorderSize (const BorderSize &other) noexcept | |
BorderSize (ValueType topGap, ValueType leftGap, ValueType bottomGap, ValueType rightGap) noexcept | |
BorderSize (ValueType allGaps) noexcept | |
ValueType | getTop () const noexcept |
ValueType | getLeft () const noexcept |
ValueType | getBottom () const noexcept |
ValueType | getRight () const noexcept |
ValueType | getTopAndBottom () const noexcept |
ValueType | getLeftAndRight () const noexcept |
bool | isEmpty () const noexcept |
void | setTop (ValueType newTopGap) noexcept |
void | setLeft (ValueType newLeftGap) noexcept |
void | setBottom (ValueType newBottomGap) noexcept |
void | setRight (ValueType newRightGap) noexcept |
Rectangle< ValueType > | subtractedFrom (const Rectangle< ValueType > &original) const noexcept |
void | subtractFrom (Rectangle< ValueType > &rectangle) const noexcept |
Rectangle< ValueType > | addedTo (const Rectangle< ValueType > &original) const noexcept |
void | addTo (Rectangle< ValueType > &rectangle) const noexcept |
bool | operator== (const BorderSize &other) const noexcept |
bool | operator!= (const BorderSize &other) const noexcept |
Specifies a set of gaps to be left around the sides of a rectangle.
This is basically the size of the spaces at the top, bottom, left and right of a rectangle. It's used by various component classes to specify borders.
|
inlinenoexcept |
Creates a null border. All sizes are left as 0.
|
inlinenoexcept |
Creates a copy of another border.
|
inlinenoexcept |
Creates a border with the given gaps.
|
inlineexplicitnoexcept |
Creates a border with the given gap on all sides.
|
inlinenoexcept |
Returns a rectangle with these borders added around it.
|
inlinenoexcept |
Adds this border around a given rectangle.
|
inlinenoexcept |
Returns the gap that should be left at the top of the region.
|
inlinenoexcept |
Returns the gap that should be left at the top of the region.
|
inlinenoexcept |
Returns the sum of the left and right gaps.
|
inlinenoexcept |
Returns the gap that should be left at the top of the region.
|
inlinenoexcept |
Returns the gap that should be left at the top of the region.
|
inlinenoexcept |
Returns the sum of the top and bottom gaps.
|
inlinenoexcept |
Returns true if this border has no thickness along any edge.
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
Changes the bottom gap.
|
inlinenoexcept |
Changes the left gap.
|
inlinenoexcept |
Changes the right gap.
|
inlinenoexcept |
Changes the top gap.
|
inlinenoexcept |
Returns a rectangle with these borders removed from it.
|
inlinenoexcept |
Removes this border from a given rectangle.