ShadingPattern Class Documentation
class ShadingPattern : PatternNamespace:Datalogics::PDFL
- Inherits from:
Pattern
- Derived classes:
- AxialShadingPattern
Detailed Description
A shading pattern consists of a smoothly varying gradient between two colors.
Uses types
Property Documentation
AntiAlias
bool AntiAlias[get, set]Gets whether anti-aliasing is enabled for the shading.
When enabled, the shading function is filtered to prevent aliasing artifacts.
BackgroundColor
Color BackgroundColor[get, set]Gets the background color of the shading pattern.
This color must be in the color space of the shading pattern. If present, it is used to fill the areas that are outside the bounds of the shading object. May be NULL.
BoundingBox
Rect BoundingBox[get, set]Gets the bounding box of the shading.
The coordinates are interpreted in the target coordinate space. If present, provides an additional, temporary clipping boundary to the shading.
ColorSpace
ColorSpace ColorSpace[get, set]Gets the color space of a shading pattern.
This space is restricted to be any space except a Pattern space.
PDFObject
PDFObject PDFObject[get]Gets the underlying PDF object for this pattern.
Member Function Documentation
Dispose
void Dispose()Returns:
voidToString
override string ToString()Returns:
override stringA string describing the shading pattern.
Converts the shading pattern to a string representation.