Internally-used class for wrapping a DrawableRectangle's state into a ValueTree. More...
Inherits DrawableShape::FillAndStrokeState.
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 *) |
Static Public Attributes | |
| static const Identifier | topLeft |
| static const Identifier | topRight |
| static const Identifier | bottomLeft |
| static const Identifier | cornerSize |
Internally-used class for wrapping a DrawableRectangle's state into a ValueTree.
| DrawableRectangle::ValueTreeWrapper::ValueTreeWrapper | ( | const ValueTree & | state | ) |
| void DrawableRectangle::ValueTreeWrapper::setRectangle | ( | const RelativeParallelogram & | newBounds, |
| UndoManager * | |||
| ) |
| void DrawableRectangle::ValueTreeWrapper::setCornerSize | ( | const RelativePoint & | cornerSize, |
| UndoManager * | |||
| ) |
const Identifier DrawableRectangle::ValueTreeWrapper::topLeft [static] |
const Identifier DrawableRectangle::ValueTreeWrapper::topRight [static] |
const Identifier DrawableRectangle::ValueTreeWrapper::bottomLeft [static] |
const Identifier DrawableRectangle::ValueTreeWrapper::cornerSize [static] |