A drawn line.
More...
#include <Object.h>
|
| | LineObject () |
| |
| | LineObject (Pen pen, Point pt1, Point pt2) |
| |
| | LineObject (Pen pen, int16_t x1, int16_t y1, int16_t x2, int16_t y2) |
| |
| | LineObject (int x0, int y0, int x1, int y1, Color color) |
| |
| void | write (MetaWriter &meta) const override |
| |
| Renderer * | createRenderer (const Location &location) const override |
| | Create a software renderer for this object. More...
|
| |
| Kind | kind () const override |
| |
| bool | operator== (const Object &other) const |
| |
| virtual String | getTypeStr () const |
| |
| Object * | getNext () const |
| |
| bool | insertAfter (Object *object) |
| |
| Iterator | begin () const |
| |
| Iterator | end () const |
| |
| Iterator | cbegin () const |
| |
| Iterator | cend () const |
| |
| virtual | ~LinkedObject ()=default |
| |
| virtual LinkedObject * | next () const |
| |
| bool | insertAfter (LinkedObject *object) |
| |
| bool | operator== (const LinkedObject &other) const |
| |
| bool | operator!= (const LinkedObject &other) const |
| |
◆ LineObject() [1/4]
| Graphics::LineObject::LineObject |
( |
| ) |
|
|
inline |
◆ LineObject() [2/4]
| Graphics::LineObject::LineObject |
( |
Pen |
pen, |
|
|
Point |
pt1, |
|
|
Point |
pt2 |
|
) |
| |
|
inline |
◆ LineObject() [3/4]
| Graphics::LineObject::LineObject |
( |
Pen |
pen, |
|
|
int16_t |
x1, |
|
|
int16_t |
y1, |
|
|
int16_t |
x2, |
|
|
int16_t |
y2 |
|
) |
| |
|
inline |
◆ LineObject() [4/4]
| Graphics::LineObject::LineObject |
( |
int |
x0, |
|
|
int |
y0, |
|
|
int |
x1, |
|
|
int |
y1, |
|
|
Color |
color |
|
) |
| |
|
inline |
◆ createRenderer()
| Renderer* Graphics::LineObject::createRenderer |
( |
const Location & |
location | ) |
const |
|
overridevirtual |
Create a software renderer for this object.
- Parameters
-
- Return values
-
| renderer | Returned renderer object |
Return nullptr if object cannot/should not be rendered
Implements Graphics::Object.
◆ write()
| void Graphics::LineObject::write |
( |
MetaWriter & |
meta | ) |
const |
|
inlineoverridevirtual |
◆ pen
| Pen Graphics::LineObject::pen {} |
◆ pt1
| Point Graphics::LineObject::pt1 {} |
◆ pt2
| Point Graphics::LineObject::pt2 {} |
The documentation for this class was generated from the following file: