openshot-audio  0.1.6
Public Member Functions | Static Public Attributes | List of all members
juce::DrawableRectangle::ValueTreeWrapper Class Reference

#include <juce_gui_basics.h>

Inheritance diagram for juce::DrawableRectangle::ValueTreeWrapper:
juce::DrawableShape::FillAndStrokeState juce::Drawable::ValueTreeWrapperBase

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 juce::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 juce::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 juce::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 juce::Drawable::ValueTreeWrapperBase
ValueTree state
 

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 undoManager)

◆ getRectangle()

RelativeParallelogram DrawableRectangle::ValueTreeWrapper::getRectangle ( ) const

◆ setCornerSize()

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

◆ setRectangle()

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

Member Data Documentation

◆ bottomLeft

const Identifier DrawableRectangle::ValueTreeWrapper::bottomLeft
static

◆ cornerSize

const Identifier DrawableRectangle::ValueTreeWrapper::cornerSize
static

◆ topLeft

const Identifier DrawableRectangle::ValueTreeWrapper::topLeft
static

◆ topRight

const Identifier DrawableRectangle::ValueTreeWrapper::topRight
static

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