FifeGUI 0.3.0
A C++ GUI library designed for games.
fcn::PieGraph::PieGraphSegment Struct Reference

#include <piegraph.hpp>

Public Attributes

Color color
int startAngle {}
int stopAngle {}

Detailed Description

Represents a single segment of a pie graph (angles and color).

Definition at line 159 of file piegraph.hpp.

Member Data Documentation

◆ color

Color fcn::PieGraph::PieGraphSegment::color

Color of the segment.

Definition at line 168 of file piegraph.hpp.

Referenced by fcn::PieGraph::addSegment().

◆ startAngle

int fcn::PieGraph::PieGraphSegment::startAngle {}

Start angle in degrees.

Definition at line 162 of file piegraph.hpp.

Referenced by fcn::PieGraph::addSegment().

◆ stopAngle

int fcn::PieGraph::PieGraphSegment::stopAngle {}

Stop angle in degrees.

Definition at line 165 of file piegraph.hpp.

Referenced by fcn::PieGraph::addSegment().


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