PDF SDK Documentation

Comprehensive Guide for Developers: Features, Integration, and API Reference

Loading...
Searching...
No Matches
shading.h
1// Copyright (c) 2009-2025 Avanquest Software. All rights reserved.
2
3#ifndef PDFSDK_CXX_PDF_SHADING_H_INCLUDED_
4#define PDFSDK_CXX_PDF_SHADING_H_INCLUDED_
5
7
8#include "forward_declarations.h"
9#include "wrapper_base.h"
10
11namespace PDF {
12
18class Shading : public detail::RefCountedHandle<PDEShading> {
19public:
25 static Shading CreateFromPdfObject(const Object& object);
26
32
38
44
50
55 void SetBackground(const Color& background);
56
62
67 void SetBBox(const PDRectF& bbox);
68
73 bool GetAntiAlias() const;
74
79 void SetAntiAlias(bool antiAlias);
80
81 PDF_CXX_CORE_WRAPPER_DEFINE_MEMBERS_(Shading, PDEShading)
82};
83
84} // namespace PDF
85
86#include "shading_impl.inl"
87
88#endif // PDFSDK_CXX_PDF_SHADING_H_INCLUDED_
Represents a color in a PDF document.
Definition color.h:30
Represents a color space in a PDF document.
Definition color_space.h:43
Represents a PDF object.
Definition object.h:25
void SetBackground(const Color &background)
bool GetAntiAlias() const
static Shading CreateFromPdfObject(const Object &object)
PDRectF GetBBox() const
Color GetBackground() const
PDEShadingType GetShadingType() const
void SetBBox(const PDRectF &bbox)
ColorSpace GetColorSpace() const
void SetAntiAlias(bool antiAlias)
Object GetPdfObject() const
Content API.
PDEShadingType
Specifies the type of shading.
Definition content.h:558
Definition math_types.h:30