JUCE
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
Static Public Attributes | List of all members
RelativeCoordinate::Strings Struct Reference

A set of static strings that are commonly used by the RelativeCoordinate class. More...

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"
 

Detailed Description

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.

Member Data Documentation

const String RelativeCoordinate::Strings::parent
static

"parent"

const String RelativeCoordinate::Strings::left
static

"left"

const String RelativeCoordinate::Strings::right
static

"right"

const String RelativeCoordinate::Strings::top
static

"top"

const String RelativeCoordinate::Strings::bottom
static

"bottom"

const String RelativeCoordinate::Strings::x
static

"x"

const String RelativeCoordinate::Strings::y
static

"y"

const String RelativeCoordinate::Strings::width
static

"width"

const String RelativeCoordinate::Strings::height
static

"height"


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