A set of static strings that are commonly used by the RelativeCoordinate class. More...
#include <juce_RelativeCoordinate.h>
Static Public Attributes | |
static const String | bottom |
"bottom" More... | |
static const String | height |
"height" More... | |
static const String | left |
"left" More... | |
static const String | parent |
"parent" More... | |
static const String | right |
"right" More... | |
static const String | top |
"top" More... | |
static const String | width |
"width" More... | |
static const String | x |
"x" More... | |
static const String | y |
"y" More... | |
A set of static strings that are commonly used by the RelativeCoordinate class.
As well as avoiding using string literals in your code, using these preset values has the advantage that all instances of the same string will share the same, reference-counted String object, so if you have thousands of points which all refer to the same anchor points, this can save a significant amount of memory allocation.
|
static |
"bottom"
|
static |
"height"
|
static |
"left"
|
static |
"parent"
|
static |
"right"
|
static |
"top"
|
static |
"width"
|
static |
"x"
|
static |
"y"