PoDoFo 0.9.20
|
#include <PdfShadingPattern.h>
Public Member Functions | |
PdfTriangleShadingPattern (PdfDocument &doc, double x0, double y0, const PdfColor &color0, double x1, double y1, const PdfColor &color1, double x2, double y2, const PdfColor &color2) | |
![]() | |
const PdfName & | GetIdentifier () const |
Additional Inherited Members | |
![]() | |
PdfShadingPattern (PdfDocument &doc, PdfShadingPatternType shadingType) | |
A shading pattern that is a simple triangle shading between three colors. It's a single-triangle simplified variation of a FreeForm shadding pattern.
PdfTriangleShadingPattern::PdfTriangleShadingPattern | ( | PdfDocument & | doc, |
double | x0, | ||
double | y0, | ||
const PdfColor & | color0, | ||
double | x1, | ||
double | y1, | ||
const PdfColor & | color1, | ||
double | x2, | ||
double | y2, | ||
const PdfColor & | color2 | ||
) |
Create a triangle shading pattern
x0 | triangle x coordinate of point 0 |
y0 | triangle y coordinate of point 0 |
color0 | color of point 0 |
x1 | triangle x coordinate of point 1 |
y1 | triangle y coordinate of point 1 |
color1 | color of point 1 |
x2 | triangle x coordinate of point 2 |
y2 | triangle y coordinate of point 2 |
color2 | color of point 2 |
parent | the parent |