PoDoFo 0.9.20
Public Member Functions | List of all members
PoDoFo::PdfRadialShadingPattern Class Referencefinal

#include <PdfShadingPattern.h>

Inheritance diagram for PoDoFo::PdfRadialShadingPattern:
PoDoFo::PdfShadingPattern

Public Member Functions

 PdfRadialShadingPattern (PdfDocument &doc, double x0, double y0, double r0, double x1, double y1, double r1, const PdfColor &start, const PdfColor &end)
 
- Public Member Functions inherited from PoDoFo::PdfShadingPattern
const PdfNameGetIdentifier () const
 

Additional Inherited Members

- Protected Member Functions inherited from PoDoFo::PdfShadingPattern
 PdfShadingPattern (PdfDocument &doc, PdfShadingPatternType shadingType)
 

Detailed Description

A shading pattern that is a simple radial shading between two colors.

Constructor & Destructor Documentation

◆ PdfRadialShadingPattern()

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

Parameters
docthe parent
x0the inner circles x coordinate
y0the inner circles y coordinate
r0the inner circles radius
x1the outer circles x coordinate
y1the outer circles y coordinate
r1the outer circles radius
startthe starting color
endthe ending color