Color
Overview
Color is a class in Aspose.PDF FOSS for Python.
Represents a color in PDF documents.
This class provides 1 method for working with Color objects in Python programs.
Available methods include: __init__.
All public members are accessible to any Python application after installing the Aspose.PDF FOSS for Python package.
Properties: pattern_color_space, r.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
pattern_color_space | GradientAxialShading | None | Read | Get the pattern color space (gradient). |
r | float | Read | Get the red component. |
Methods
| Signature | Description |
|---|---|
__init__(pattern_color_space: GradientAxialShading | None, r: float, g: float, b: float) | Initialize a color. |