PoDoFo 0.9.20
|
#include <PdfShadingPattern.h>
Public Member Functions | |
PdfRadialShadingPattern (PdfDocument &doc, double x0, double y0, double r0, double x1, double y1, double r1, const PdfColor &start, const PdfColor &end) | |
![]() | |
const PdfName & | GetIdentifier () const |
Additional Inherited Members | |
![]() | |
PdfShadingPattern (PdfDocument &doc, PdfShadingPatternType shadingType) | |
A shading pattern that is a simple radial shading between two colors.
PdfRadialShadingPattern::PdfRadialShadingPattern | ( | PdfDocument & | doc, |
double | x0, | ||
double | y0, | ||
double | r0, | ||
double | x1, | ||
double | y1, | ||
double | r1, | ||
const PdfColor & | start, | ||
const PdfColor & | end | ||
) |
Create an radial shading pattern
doc | the parent |
x0 | the inner circles x coordinate |
y0 | the inner circles y coordinate |
r0 | the inner circles radius |
x1 | the outer circles x coordinate |
y1 | the outer circles y coordinate |
r1 | the outer circles radius |
start | the starting color |
end | the ending color |