nsbaci 1.0
Loading...
Searching...
No Matches
nsbaci::types::DrawCommand Struct Reference

Represents a single drawing command to be executed. More...

#include <drawingTypes.h>

Collaboration diagram for nsbaci::types::DrawCommand:

Static Public Member Functions

static DrawCommand clear ()
static DrawCommand clearWithColor (Color c)
static DrawCommand setColor (Color c)
static DrawCommand setPosition (Point p)
static DrawCommand drawShape (Shape s, Color c)
static DrawCommand fill (Color c)
static DrawCommand setLineWidth (int32_t width)
static DrawCommand refresh ()

Public Attributes

DrawCommandType type
Color color
Point position
Shape shape
int32_t lineWidth = 1

Detailed Description

Represents a single drawing command to be executed.


The documentation for this struct was generated from the following file: