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::FILL.
- See also
- CYICanvas::DrawPath
#include <graphics/YiPaint.h>
Enumeration of styles which will be used when drawing a CYIPath on a CYICanvas.
| Enumerator |
|---|
| FILL_AND_STROKE |
Path will be filled and stroked.
|
| FILL |
Path will be filled.
|
| STROKE |
Path will be stroked.
|
| virtual CYIPaint::~CYIPaint |
( |
| ) |
|
|
virtual |
| CYIColor CYIPaint::GetFillColor |
( |
| ) |
const |
| CYIColor CYIPaint::GetStrokeColor |
( |
| ) |
const |
| float CYIPaint::GetStrokeWidth |
( |
| ) |
const |
| STYLE CYIPaint::GetStyle |
( |
| ) |
const |
| void CYIPaint::SetFillColor |
( |
const CYIColor & |
fillColor | ) |
|
| void CYIPaint::SetStrokeColor |
( |
const CYIColor & |
strokeColor | ) |
|
| void CYIPaint::SetStrokeWidth |
( |
float |
fStrokeWidth | ) |
|
| void CYIPaint::SetStyle |
( |
STYLE |
eStyle | ) |
|
Sets the paint style to eStyle.
| float CYIPaint::m_fStrokeWidth |
|
protected |
The documentation for this class was generated from the following file: