JUCE  v5.1.1-3-g1a0b28c73
JUCE API
DrawableImage::ValueTreeWrapper Class Reference

Internally-used class for wrapping a DrawableImage's state into a ValueTree. More...

#include <juce_DrawableImage.h>

Inheritance diagram for DrawableImage::ValueTreeWrapper:
Collaboration diagram for DrawableImage::ValueTreeWrapper:

Public Member Functions

 ValueTreeWrapper (const ValueTree &state)
 
RelativeParallelogram getBoundingBox () const
 
String getID () const
 
var getImageIdentifier () const
 
Value getImageIdentifierValue (UndoManager *)
 
float getOpacity () const
 
Value getOpacityValue (UndoManager *)
 
Colour getOverlayColour () const
 
Value getOverlayColourValue (UndoManager *)
 
ValueTreegetState () noexcept
 
void setBoundingBox (const RelativeParallelogram &, UndoManager *)
 
void setID (const String &newID)
 
void setImageIdentifier (const var &, UndoManager *)
 
void setOpacity (float newOpacity, UndoManager *)
 
void setOverlayColour (Colour newColour, UndoManager *)
 

Public Attributes

ValueTree state
 

Static Public Attributes

static const Identifier bottomLeft
 
static const Identifier image
 
static const Identifier opacity
 
static const Identifier overlay
 
static const Identifier topLeft
 
static const Identifier topRight
 

Detailed Description

Internally-used class for wrapping a DrawableImage's state into a ValueTree.

Constructor & Destructor Documentation

◆ ValueTreeWrapper()

DrawableImage::ValueTreeWrapper::ValueTreeWrapper ( const ValueTree state)

Member Function Documentation

◆ getBoundingBox()

RelativeParallelogram DrawableImage::ValueTreeWrapper::getBoundingBox ( ) const

◆ getID()

String Drawable::ValueTreeWrapperBase::getID ( ) const
inherited

◆ getImageIdentifier()

var DrawableImage::ValueTreeWrapper::getImageIdentifier ( ) const

◆ getImageIdentifierValue()

Value DrawableImage::ValueTreeWrapper::getImageIdentifierValue ( UndoManager )

◆ getOpacity()

float DrawableImage::ValueTreeWrapper::getOpacity ( ) const

◆ getOpacityValue()

Value DrawableImage::ValueTreeWrapper::getOpacityValue ( UndoManager )

◆ getOverlayColour()

Colour DrawableImage::ValueTreeWrapper::getOverlayColour ( ) const

◆ getOverlayColourValue()

Value DrawableImage::ValueTreeWrapper::getOverlayColourValue ( UndoManager )

◆ getState()

ValueTree& Drawable::ValueTreeWrapperBase::getState ( )
inlinenoexceptinherited

◆ setBoundingBox()

void DrawableImage::ValueTreeWrapper::setBoundingBox ( const RelativeParallelogram ,
UndoManager  
)

◆ setID()

void Drawable::ValueTreeWrapperBase::setID ( const String newID)
inherited

◆ setImageIdentifier()

void DrawableImage::ValueTreeWrapper::setImageIdentifier ( const var ,
UndoManager  
)

◆ setOpacity()

void DrawableImage::ValueTreeWrapper::setOpacity ( float  newOpacity,
UndoManager  
)

◆ setOverlayColour()

void DrawableImage::ValueTreeWrapper::setOverlayColour ( Colour  newColour,
UndoManager  
)

Member Data Documentation

◆ bottomLeft

const Identifier DrawableImage::ValueTreeWrapper::bottomLeft
static

◆ image

const Identifier DrawableImage::ValueTreeWrapper::image
static

◆ opacity

const Identifier DrawableImage::ValueTreeWrapper::opacity
static

◆ overlay

const Identifier DrawableImage::ValueTreeWrapper::overlay
static

◆ state

ValueTree Drawable::ValueTreeWrapperBase::state
inherited

◆ topLeft

const Identifier DrawableImage::ValueTreeWrapper::topLeft
static

◆ topRight

const Identifier DrawableImage::ValueTreeWrapper::topRight
static

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