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

#include <PdfShadingPattern.h>

Inheritance diagram for PoDoFo::PdfAxialShadingPattern:
PoDoFo::PdfShadingPattern

Public Member Functions

 PdfAxialShadingPattern (PdfDocument &doc, double x0, double y0, double x1, double y1, 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 axial shading between two colors.

Constructor & Destructor Documentation

◆ PdfAxialShadingPattern()

PdfAxialShadingPattern::PdfAxialShadingPattern ( PdfDocument doc,
double  x0,
double  y0,
double  x1,
double  y1,
const PdfColor start,
const PdfColor end 
)

Create an axial shading pattern

Parameters
docthe parent
x0the starting x coordinate
y0the starting y coordinate
x1the ending x coordinate
y1the ending y coordinate
startthe starting color
endthe ending color