JUCE  v5.4.1-191-g0ab5e696f
JUCE API
Looking for a senior C++ dev?
I'm looking for work. Hire me!
juce::RelativeCoordinate::Strings Struct Reference

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

#include <juce_RelativeCoordinate.h>

Collaboration diagram for juce::RelativeCoordinate::Strings:

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...
 

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

◆ bottom

const String juce::RelativeCoordinate::Strings::bottom
static

"bottom"

◆ height

const String juce::RelativeCoordinate::Strings::height
static

"height"

◆ left

const String juce::RelativeCoordinate::Strings::left
static

"left"

◆ parent

const String juce::RelativeCoordinate::Strings::parent
static

"parent"

◆ right

const String juce::RelativeCoordinate::Strings::right
static

"right"

◆ top

const String juce::RelativeCoordinate::Strings::top
static

"top"

◆ width

const String juce::RelativeCoordinate::Strings::width
static

"width"

◆ x

const String juce::RelativeCoordinate::Strings::x
static

"x"

◆ y

const String juce::RelativeCoordinate::Strings::y
static

"y"


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