26 Point(
int x,
int y, QColor color,
int penWidth);
28 void draw(QPainter *painter)
override;
Point(int x, int y, QColor color, int penWidth)
Point defined by its coordinates (x,y).
Definition: point.cpp:19
Base class for elements that can be drawn on display.
Definition: shape.h:22
bool equals(const Shape *other) const override
Checks whether to shapes are equal.
Definition: point.cpp:31
void draw(QPainter *painter) override
Draws a shape with a given painter.
Definition: point.cpp:25
Presents a point to draw on display.
Definition: point.h:22
Definition: trikCommunicator.h:27
var x
Definition: file-test.js:2
var y
Definition: file-test.js:5