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

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

#include <juce_DrawableRectangle.h>

Inheritance diagram for DrawableRectangle::ValueTreeWrapper:
Collaboration diagram for DrawableRectangle::ValueTreeWrapper:

Public Member Functions

 ValueTreeWrapper (const ValueTree &state)
 
RelativePoint getCornerSize () const
 
Value getCornerSizeValue (UndoManager *)
 
RelativeFillType getFill (const Identifier &fillOrStrokeType, ComponentBuilder::ImageProvider *) const
 
ValueTree getFillState (const Identifier &fillOrStrokeType)
 
String getID () const
 
RelativeParallelogram getRectangle () const
 
ValueTreegetState () noexcept
 
PathStrokeType getStrokeType () const
 
void setCornerSize (const RelativePoint &cornerSize, UndoManager *)
 
void setFill (const Identifier &fillOrStrokeType, const RelativeFillType &newFill, ComponentBuilder::ImageProvider *, UndoManager *)
 
void setID (const String &newID)
 
void setRectangle (const RelativeParallelogram &newBounds, UndoManager *)
 
void setStrokeType (const PathStrokeType &newStrokeType, UndoManager *)
 

Public Attributes

ValueTree state
 

Static Public Attributes

static const Identifier bottomLeft
 
static const Identifier capStyle
 
static const Identifier colour
 
static const Identifier colours
 
static const Identifier cornerSize
 
static const Identifier fill
 
static const Identifier gradientPoint1
 
static const Identifier gradientPoint2
 
static const Identifier gradientPoint3
 
static const Identifier imageId
 
static const Identifier imageOpacity
 
static const Identifier jointStyle
 
static const Identifier path
 
static const Identifier radial
 
static const Identifier stroke
 
static const Identifier strokeWidth
 
static const Identifier topLeft
 
static const Identifier topRight
 
static const Identifier type
 

Detailed Description

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

Constructor & Destructor Documentation

◆ ValueTreeWrapper()

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

Member Function Documentation

◆ getCornerSize()

RelativePoint DrawableRectangle::ValueTreeWrapper::getCornerSize ( ) const

◆ getCornerSizeValue()

Value DrawableRectangle::ValueTreeWrapper::getCornerSizeValue ( UndoManager )

◆ getFill()

RelativeFillType DrawableShape::FillAndStrokeState::getFill ( const Identifier fillOrStrokeType,
ComponentBuilder::ImageProvider  
) const
inherited

◆ getFillState()

ValueTree DrawableShape::FillAndStrokeState::getFillState ( const Identifier fillOrStrokeType)
inherited

◆ getID()

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

◆ getRectangle()

RelativeParallelogram DrawableRectangle::ValueTreeWrapper::getRectangle ( ) const

◆ getState()

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

◆ getStrokeType()

PathStrokeType DrawableShape::FillAndStrokeState::getStrokeType ( ) const
inherited

◆ setCornerSize()

void DrawableRectangle::ValueTreeWrapper::setCornerSize ( const RelativePoint cornerSize,
UndoManager  
)

◆ setFill()

void DrawableShape::FillAndStrokeState::setFill ( const Identifier fillOrStrokeType,
const RelativeFillType newFill,
ComponentBuilder::ImageProvider ,
UndoManager  
)
inherited

◆ setID()

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

◆ setRectangle()

void DrawableRectangle::ValueTreeWrapper::setRectangle ( const RelativeParallelogram newBounds,
UndoManager  
)

◆ setStrokeType()

void DrawableShape::FillAndStrokeState::setStrokeType ( const PathStrokeType newStrokeType,
UndoManager  
)
inherited

Member Data Documentation

◆ bottomLeft

const Identifier DrawableRectangle::ValueTreeWrapper::bottomLeft
static

◆ capStyle

const Identifier DrawableShape::FillAndStrokeState::capStyle
staticinherited

◆ colour

const Identifier DrawableShape::FillAndStrokeState::colour
staticinherited

◆ colours

const Identifier DrawableShape::FillAndStrokeState::colours
staticinherited

◆ cornerSize

const Identifier DrawableRectangle::ValueTreeWrapper::cornerSize
static

◆ fill

const Identifier DrawableShape::FillAndStrokeState::fill
staticinherited

◆ gradientPoint1

const Identifier DrawableShape::FillAndStrokeState::gradientPoint1
staticinherited

◆ gradientPoint2

const Identifier DrawableShape::FillAndStrokeState::gradientPoint2
staticinherited

◆ gradientPoint3

const Identifier DrawableShape::FillAndStrokeState::gradientPoint3
staticinherited

◆ imageId

const Identifier DrawableShape::FillAndStrokeState::imageId
staticinherited

◆ imageOpacity

const Identifier DrawableShape::FillAndStrokeState::imageOpacity
staticinherited

◆ jointStyle

const Identifier DrawableShape::FillAndStrokeState::jointStyle
staticinherited

◆ path

const Identifier DrawableShape::FillAndStrokeState::path
staticinherited

◆ radial

const Identifier DrawableShape::FillAndStrokeState::radial
staticinherited

◆ state

ValueTree Drawable::ValueTreeWrapperBase::state
inherited

◆ stroke

const Identifier DrawableShape::FillAndStrokeState::stroke
staticinherited

◆ strokeWidth

const Identifier DrawableShape::FillAndStrokeState::strokeWidth
staticinherited

◆ topLeft

const Identifier DrawableRectangle::ValueTreeWrapper::topLeft
static

◆ topRight

const Identifier DrawableRectangle::ValueTreeWrapper::topRight
static

◆ type

const Identifier DrawableShape::FillAndStrokeState::type
staticinherited

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