Descriptor for drawing vector graphics.
This descriptor class is used by CYICanvas to describe the style properties of a CYIPath. The default style is CYIPaint::Style::Fill.
- See also
- CYICanvas::DrawPath
#include <graphics/YiPaint.h>
◆ Style
Enumeration of styles which will be used when drawing a CYIPath on a CYICanvas.
Enumerator |
---|
FillAndStroke | Path will be filled and stroked.
|
Fill | Path will be filled.
|
Stroke | Path will be stroked.
|
◆ CYIPaint()
◆ ~CYIPaint()
virtual CYIPaint::~CYIPaint |
( |
| ) |
|
|
virtual |
◆ GetFillColor()
CYIColor CYIPaint::GetFillColor |
( |
| ) |
const |
◆ GetStrokeColor()
CYIColor CYIPaint::GetStrokeColor |
( |
| ) |
const |
◆ GetStrokeWidth()
float CYIPaint::GetStrokeWidth |
( |
| ) |
const |
◆ GetStyle()
Style CYIPaint::GetStyle |
( |
| ) |
const |
◆ SetFillColor()
void CYIPaint::SetFillColor |
( |
const CYIColor & |
fillColor | ) |
|
◆ SetStrokeColor()
void CYIPaint::SetStrokeColor |
( |
const CYIColor & |
strokeColor | ) |
|
◆ SetStrokeWidth()
void CYIPaint::SetStrokeWidth |
( |
float |
strokeWidth | ) |
|
◆ SetStyle()
void CYIPaint::SetStyle |
( |
Style |
style | ) |
|
Sets the paint style to style.
◆ m_FillClr
◆ m_StrokeClr
◆ m_strokeWidth
float CYIPaint::m_strokeWidth |
|
protected |
◆ m_style
The documentation for this class was generated from the following file: