Steppable 0.0.1
A CAS project written from scratch in C++
Loading...
Searching...
No Matches
steppable::graphing::LineOptions Struct Reference

Stores options for each line graphed on screen. More...

#include <conPlotTypes.hpp>

Inheritance diagram for steppable::graphing::LineOptions:
[legend]
Collaboration diagram for steppable::graphing::LineOptions:
[legend]

Public Member Functions

template<typename... Params>
 LineOptions (Params... params)
 Initializes a new LineOptions instance.

Public Attributes

long long samplesSpacing = 2
 Frequency to take a sample, units: grids.
NumberPair shadeValues = { 0, 0 }
ShadeOptions shadeOptions = ShadeOptions::NO_SHADE
std::string_view shadeDot = GraphDot::LIGHT_BLOCK_1
Public Attributes inherited from steppable::graphing::LineOptionsBase
std::string_view lineDot = GraphDot::BLOCK
 Dot type to be drawn on screen.
ColorFunc lineColor = colors::green
 Color of the dot to output.
std::string title = "Line"
 Name of the line to be shown in the legend.

Detailed Description

Stores options for each line graphed on screen.

Constructor & Destructor Documentation

◆ LineOptions()

template<typename... Params>
steppable::graphing::LineOptions::LineOptions ( Params... params)
inline

Initializes a new LineOptions instance.

Parameters
paramsThe parameters to be passed to initialize the instance.
Here is the call graph for this function:

Member Data Documentation

◆ samplesSpacing

long long steppable::graphing::LineOptions::samplesSpacing = 2

Frequency to take a sample, units: grids.

◆ shadeDot

std::string_view steppable::graphing::LineOptions::shadeDot = GraphDot::LIGHT_BLOCK_1

◆ shadeOptions

ShadeOptions steppable::graphing::LineOptions::shadeOptions = ShadeOptions::NO_SHADE

◆ shadeValues

NumberPair steppable::graphing::LineOptions::shadeValues = { 0, 0 }

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