8#ifndef KORECTANGLESHAPE_H
9#define KORECTANGLESHAPE_H
14#define RectangleShapeId "RectangleShape"
66 void moveHandleAction(
int handleId,
const QPointF &point, Qt::KeyboardModifiers modifiers = Qt::NoModifier)
override;
QSizeF size() const override
reimplemented
qreal cornerRadiusX() const
Returns the corner radius in x-direction.
void moveHandleAction(int handleId, const QPointF &point, Qt::KeyboardModifiers modifiers=Qt::NoModifier) override
Updates the internal state of a KoParameterShape.
QString pathShapeId() const override
reimplemented
~RectangleShape() override
void setCornerRadiusY(qreal radius)
void setCornerRadiusX(qreal radius)
qreal m_cornerRadiusX
in percent of half of the rectangle width (a number between 0 and 100)
qreal cornerRadiusY() const
Returns the corner radius in y-direction.
KoShape * cloneShape() const override
creates a deep copy of the shape or shape's subtree
void createPoints(int requiredPointCount)
void updatePath(const QSizeF &size) override
Update the path of the parameter shape.
bool loadSvg(const QDomElement &element, SvgLoadingContext &context) override
reimplemented from SvgShape
bool saveSvg(SvgSavingContext &context) override
reimplemented from SvgShape
qreal m_cornerRadiusY
in percent of half of the rectangle height (a number between 0 and 100)
Contains data used for loading svg.
Context for saving svg files.
An interface providing svg loading and saving routines.