PoDoFo 0.9.20
Public Member Functions | Protected Member Functions | List of all members
PoDoFo::PdfShadingPattern Class Reference

#include <PdfShadingPattern.h>

Inheritance diagram for PoDoFo::PdfShadingPattern:
PoDoFo::PdfAxialShadingPattern PoDoFo::PdfFunctionBaseShadingPattern PoDoFo::PdfRadialShadingPattern PoDoFo::PdfTriangleShadingPattern

Public Member Functions

const PdfNameGetIdentifier () const
 

Protected Member Functions

 PdfShadingPattern (PdfDocument &doc, PdfShadingPatternType shadingType)
 

Detailed Description

This class defined a shading pattern which can be used to fill abitrary shapes with a pattern using PdfPainter.

Constructor & Destructor Documentation

◆ PdfShadingPattern()

PdfShadingPattern::PdfShadingPattern ( PdfDocument doc,
PdfShadingPatternType  shadingType 
)
protected

Create a new PdfShadingPattern object which will introduce itself automatically to every page object it is used on.

Parameters
docparent document
eShadingTypethe type of this shading pattern

Member Function Documentation

◆ GetIdentifier()

const PdfName & PoDoFo::PdfShadingPattern::GetIdentifier ( ) const
inline

Returns the identifier of this ShadingPattern how it is known in the pages resource dictionary.

Returns
PdfName containing the identifier (e.g. /Sh13)