DrawableImage::ValueTreeWrapper Class Reference

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

Inheritance diagram for DrawableImage::ValueTreeWrapper:

Public Member Functions

 ValueTreeWrapper (const ValueTree &state)
 
var getImageIdentifier () const
 
void setImageIdentifier (const var &, UndoManager *)
 
Value getImageIdentifierValue (UndoManager *)
 
float getOpacity () const
 
void setOpacity (float newOpacity, UndoManager *)
 
Value getOpacityValue (UndoManager *)
 
Colour getOverlayColour () const
 
void setOverlayColour (Colour newColour, UndoManager *)
 
Value getOverlayColourValue (UndoManager *)
 
RelativeParallelogram getBoundingBox () const
 
void setBoundingBox (const RelativeParallelogram &, UndoManager *)
 
- Public Member Functions inherited from Drawable::ValueTreeWrapperBase
 ValueTreeWrapperBase (const ValueTree &state)
 
ValueTreegetState () noexcept
 
String getID () const
 
void setID (const String &newID)
 

Static Public Attributes

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

Additional Inherited Members

- Public Attributes inherited from Drawable::ValueTreeWrapperBase
ValueTree state
 

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

◆ getImageIdentifier()

var DrawableImage::ValueTreeWrapper::getImageIdentifier ( ) const

◆ setImageIdentifier()

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

◆ getImageIdentifierValue()

Value DrawableImage::ValueTreeWrapper::getImageIdentifierValue ( UndoManager )

◆ getOpacity()

float DrawableImage::ValueTreeWrapper::getOpacity ( ) const

◆ setOpacity()

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

◆ getOpacityValue()

Value DrawableImage::ValueTreeWrapper::getOpacityValue ( UndoManager )

◆ getOverlayColour()

Colour DrawableImage::ValueTreeWrapper::getOverlayColour ( ) const

◆ setOverlayColour()

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

◆ getOverlayColourValue()

Value DrawableImage::ValueTreeWrapper::getOverlayColourValue ( UndoManager )

◆ getBoundingBox()

RelativeParallelogram DrawableImage::ValueTreeWrapper::getBoundingBox ( ) const

◆ setBoundingBox()

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

Member Data Documentation

◆ opacity

const Identifier DrawableImage::ValueTreeWrapper::opacity
static

◆ overlay

const Identifier DrawableImage::ValueTreeWrapper::overlay
static

◆ image

const Identifier DrawableImage::ValueTreeWrapper::image
static

◆ topLeft

const Identifier DrawableImage::ValueTreeWrapper::topLeft
static

◆ topRight

const Identifier DrawableImage::ValueTreeWrapper::topRight
static

◆ bottomLeft

const Identifier DrawableImage::ValueTreeWrapper::bottomLeft
static

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