#include <Paint.hpp>
The Paint can be used as gradiants and image patterns with Canvas::fillStyle
- See also
- Canvas::fillStyle
Paint type.
| Enumerator |
|---|
| Linear |
Liner gradiant.
|
| Radial |
Radial gradiant.
|
| Box |
Box gradiant.
|
| ImagePattern |
Image pattern.
|
| None |
Invalidate paint.
|
| float NanoCanvas::Paint::aa =0.0f |
| float NanoCanvas::Paint::bb =0.0f |
| float NanoCanvas::Paint::cc =0.0f |
| float NanoCanvas::Paint::dd =0.0f |
The end color of the gradiant.
| int NanoCanvas::Paint::imageID = 0 |
The nanovg image id of the image pattern.
The start color of the gradiant.
| float NanoCanvas::Paint::xx =0.0f |
| float NanoCanvas::Paint::yy =0.0f |
The documentation for this struct was generated from the following file:
- /home/geequlim/Documents/Workspace/Develop/NanoCanvas/src/Paint.hpp