26 Arc(
int x,
int y,
int width,
int height,
int startAngle,
int spanAngle, QColor color,
int penWidth);
28 void draw(QPainter *painter)
override;
void draw(QPainter *painter) override
Draws a shape with a given painter.
Definition: arc.cpp:27
Presents an arc to draw on display.
Definition: arc.h:22
Arc(int x, int y, int width, int height, int startAngle, int spanAngle, QColor color, int penWidth)
Arc in rectangle defined by (x,y,width,height), with given start and span angles. ...
Definition: arc.cpp:19
Base class for elements that can be drawn on display.
Definition: shape.h:22
Definition: trikCommunicator.h:27
var x
Definition: file-test.js:2
var y
Definition: file-test.js:5
bool equals(const Shape *other) const override
Checks whether to shapes are equal.
Definition: arc.cpp:33