JUCE
Public Member Functions | Static Public Attributes | List of all members
DrawableRectangle::ValueTreeWrapper Class Reference

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

+ Inheritance diagram for DrawableRectangle::ValueTreeWrapper:

Public Member Functions

 ValueTreeWrapper (const ValueTree &state)
 
RelativeParallelogram getRectangle () const
 
void setRectangle (const RelativeParallelogram &newBounds, UndoManager *)
 
void setCornerSize (const RelativePoint &cornerSize, UndoManager *)
 
RelativePoint getCornerSize () const
 
Value getCornerSizeValue (UndoManager *)
 
- Public Member Functions inherited from DrawableShape::FillAndStrokeState
 FillAndStrokeState (const ValueTree &state)
 
ValueTree getFillState (const Identifier &fillOrStrokeType)
 
RelativeFillType getFill (const Identifier &fillOrStrokeType, ComponentBuilder::ImageProvider *) const
 
void setFill (const Identifier &fillOrStrokeType, const RelativeFillType &newFill, ComponentBuilder::ImageProvider *, UndoManager *)
 
PathStrokeType getStrokeType () const
 
void setStrokeType (const PathStrokeType &newStrokeType, 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 topLeft
 
static const Identifier topRight
 
static const Identifier bottomLeft
 
static const Identifier cornerSize
 
- Static Public Attributes inherited from DrawableShape::FillAndStrokeState
static const Identifier type
 
static const Identifier colour
 
static const Identifier colours
 
static const Identifier fill
 
static const Identifier stroke
 
static const Identifier path
 
static const Identifier jointStyle
 
static const Identifier capStyle
 
static const Identifier strokeWidth
 
static const Identifier gradientPoint1
 
static const Identifier gradientPoint2
 
static const Identifier gradientPoint3
 
static const Identifier radial
 
static const Identifier imageId
 
static const Identifier imageOpacity
 

Additional Inherited Members

- Public Attributes inherited from Drawable::ValueTreeWrapperBase
ValueTree state
 

Detailed Description

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

Constructor & Destructor Documentation

DrawableRectangle::ValueTreeWrapper::ValueTreeWrapper ( const ValueTree state)

Member Function Documentation

RelativeParallelogram DrawableRectangle::ValueTreeWrapper::getRectangle ( ) const
void DrawableRectangle::ValueTreeWrapper::setRectangle ( const RelativeParallelogram newBounds,
UndoManager  
)
void DrawableRectangle::ValueTreeWrapper::setCornerSize ( const RelativePoint cornerSize,
UndoManager  
)
RelativePoint DrawableRectangle::ValueTreeWrapper::getCornerSize ( ) const
Value DrawableRectangle::ValueTreeWrapper::getCornerSizeValue ( UndoManager )

Member Data Documentation

const Identifier DrawableRectangle::ValueTreeWrapper::topLeft
static
const Identifier DrawableRectangle::ValueTreeWrapper::topRight
static
const Identifier DrawableRectangle::ValueTreeWrapper::bottomLeft
static
const Identifier DrawableRectangle::ValueTreeWrapper::cornerSize
static

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