Kage Studio 0.7.230612
A Simple Free and Open Source 2D Animation Software
Loading...
Searching...
No Matches
StrokeColorData Class Reference

#include <strokecolor.h>

Inheritance diagram for StrokeColorData:
Collaboration diagram for StrokeColorData:

Public Member Functions

 StrokeColorData ()
 
 StrokeColorData (unsigned int p_r, unsigned int p_g, unsigned int p_b)
 
 StrokeColorData (unsigned int p_r, unsigned int p_g, unsigned int p_b, unsigned int p_a)
 
 StrokeColorData (double p_thickness)
 
virtual ~StrokeColorData ()
 
void setThickness (double p_thickness)
 
double getThickness () const
 
StrokeColorData clone ()
 
std::string toString () const
 
- Public Member Functions inherited from ColorData
 ColorData ()
 
 ColorData (unsigned int p_r, unsigned int p_g, unsigned int p_b)
 
 ColorData (unsigned int p_r, unsigned int p_g, unsigned int p_b, unsigned int p_a)
 
virtual ~ColorData ()
 
void setR (unsigned int p_r)
 
void setG (unsigned int p_g)
 
void setB (unsigned int p_b)
 
void setA (unsigned int p_a)
 
unsigned int getR () const
 
unsigned int getG () const
 
unsigned int getB () const
 
unsigned int getA () const
 
ColorData clone ()
 
std::string toString ()
 
void copy (ColorData p_color)
 
bool equalTo (ColorData p_color)
 

Protected Attributes

double thickness
 
- Protected Attributes inherited from ColorData
unsigned int R
 
unsigned int G
 
unsigned int B
 
unsigned int A
 

Constructor & Destructor Documentation

◆ StrokeColorData() [1/4]

StrokeColorData::StrokeColorData ( )

◆ StrokeColorData() [2/4]

StrokeColorData::StrokeColorData ( unsigned int  p_r,
unsigned int  p_g,
unsigned int  p_b 
)

◆ StrokeColorData() [3/4]

StrokeColorData::StrokeColorData ( unsigned int  p_r,
unsigned int  p_g,
unsigned int  p_b,
unsigned int  p_a 
)

◆ StrokeColorData() [4/4]

StrokeColorData::StrokeColorData ( double  p_thickness)
Here is the call graph for this function:

◆ ~StrokeColorData()

StrokeColorData::~StrokeColorData ( )
virtual

Member Function Documentation

◆ clone()

StrokeColorData StrokeColorData::clone ( )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getThickness()

double StrokeColorData::getThickness ( ) const
Here is the caller graph for this function:

◆ setThickness()

void StrokeColorData::setThickness ( double  p_thickness)
Here is the caller graph for this function:

◆ toString()

std::string StrokeColorData::toString ( ) const

Field Documentation

◆ thickness

double StrokeColorData::thickness
protected

The documentation for this class was generated from the following files: