FifeGUI 0.2.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 157 of file piegraph.hpp.

Member Data Documentation

◆ color

Color fcn::PieGraph::PieGraphSegment::color

Color of the segment.

Definition at line 166 of file piegraph.hpp.

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

◆ startAngle

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

Start angle in degrees.

Definition at line 160 of file piegraph.hpp.

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

◆ stopAngle

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

Stop angle in degrees.

Definition at line 163 of file piegraph.hpp.

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


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