Class representing spot colours.
More...
#include <pdfspotcolour.h>
Class representing spot colours.
◆ wxPdfSpotColour() [1/2]
| wxPdfSpotColour::wxPdfSpotColour |
( |
int | index, |
|
|
double | cyan, |
|
|
double | magenta, |
|
|
double | yellow, |
|
|
double | black ) |
Constructor for spot colour.
- Parameters
-
| index | The spot colour index |
| cyan | The cyan component (0.0 to 100.0) |
| magenta | The magenta component (0.0 to 100.0) |
| yellow | The yellow component (0.0 to 100.0) |
| black | The black component (0.0 to 100.0) |
◆ wxPdfSpotColour() [2/2]
Copy constructor.
- Parameters
-
| colour | The spot colour to copy |
◆ GetBlack()
| double wxPdfSpotColour::GetBlack |
( |
| ) |
const |
|
inline |
Get black level.
- Returns
- The black component
◆ GetCyan()
| double wxPdfSpotColour::GetCyan |
( |
| ) |
const |
|
inline |
Get cyan level.
- Returns
- The cyan component
◆ GetIndex()
| int wxPdfSpotColour::GetIndex |
( |
| ) |
const |
|
inline |
Get spot colour index.
- Returns
- The spot colour index
◆ GetMagenta()
| double wxPdfSpotColour::GetMagenta |
( |
| ) |
const |
|
inline |
Get magenta level.
- Returns
- The magenta component
◆ GetObjIndex()
| int wxPdfSpotColour::GetObjIndex |
( |
| ) |
const |
|
inline |
Get object index.
- Returns
- The object index
◆ GetYellow()
| double wxPdfSpotColour::GetYellow |
( |
| ) |
const |
|
inline |
Get yellow level.
- Returns
- The yellow component
◆ SetObjIndex()
| void wxPdfSpotColour::SetObjIndex |
( |
int | index | ) |
|
|
inline |
Set object index.
- Parameters
-
The documentation for this class was generated from the following file: