DrawablePath::ValueTreeWrapper Class Reference

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

+ Inheritance diagram for DrawablePath::ValueTreeWrapper:


class  Element

Public Member Functions

 ValueTreeWrapper (const ValueTree &state)
bool usesNonZeroWinding () const
void setUsesNonZeroWinding (bool b, UndoManager *undoManager)
ValueTree getPathState ()
void readFrom (const RelativePointPath &path, UndoManager *undoManager)
void writeTo (RelativePointPath &path) const
- 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 nonZeroWinding
static const Identifier point1
static const Identifier point2
static const Identifier point3
- 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 DrawablePath's state into a ValueTree.

Constructor & Destructor Documentation

DrawablePath::ValueTreeWrapper::ValueTreeWrapper ( const ValueTree state)

Member Function Documentation

bool DrawablePath::ValueTreeWrapper::usesNonZeroWinding ( ) const
void DrawablePath::ValueTreeWrapper::setUsesNonZeroWinding ( bool  b,
UndoManager undoManager 
ValueTree DrawablePath::ValueTreeWrapper::getPathState ( )
void DrawablePath::ValueTreeWrapper::readFrom ( const RelativePointPath path,
UndoManager undoManager 
void DrawablePath::ValueTreeWrapper::writeTo ( RelativePointPath path) const

Member Data Documentation

const Identifier DrawablePath::ValueTreeWrapper::nonZeroWinding
const Identifier DrawablePath::ValueTreeWrapper::point1
const Identifier DrawablePath::ValueTreeWrapper::point2
const Identifier DrawablePath::ValueTreeWrapper::point3

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