A set of static strings that are commonly used by the RelativeCoordinate class. More...
#include <juce_RelativeCoordinate.h>
Static Public Attributes | |
static const String | parent |
"parent" | |
static const String | left |
"left" | |
static const String | right |
"right" | |
static const String | top |
"top" | |
static const String | bottom |
"bottom" | |
static const String | x |
"x" | |
static const String | y |
"y" | |
static const String | width |
"width" | |
static const String | height |
"height" | |
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 |
"parent"
|
static |
"left"
|
static |
"right"
|
static |
"top"
|
static |
"bottom"
|
static |
"x"
|
static |
"y"
|
static |
"width"
|
static |
"height"