Class representing patterns.
More...
#include <pdfpattern.h>
|
| wxPdfPattern (int index, double width, double height) |
| Constructor for pattern.
|
|
| wxPdfPattern (int index, double width, double height, int templateId) |
| Constructor for pattern.
|
|
| wxPdfPattern (int index, double width, double height, wxPdfPatternStyle patternStyle, const wxColour &drawColour, const wxColour &fillColour=wxColour()) |
| Constructor for pattern.
|
|
| wxPdfPattern (const wxPdfPattern &pattern) |
| Copy constructor.
|
|
void | SetObjIndex (int index) |
| Set object index.
|
|
int | GetObjIndex () const |
| Get object index.
|
|
int | GetIndex () const |
| Get pattern index.
|
|
void | SetImage (wxPdfImage *image) |
| Set image.
|
|
wxPdfImage * | GetImage () const |
| Get image.
|
|
double | GetWidth () const |
| Get pattern width.
|
|
double | GetHeight () const |
| Get pattern height.
|
|
int | GetTemplateId () const |
| Get template id.
|
|
wxPdfPatternStyle | GetPatternStyle () const |
| Get pattern style.
|
|
wxColour | GetDrawColour () const |
| Get draw color.
|
|
void | SetFillColour (const wxColour &fillColour) |
| Set fill color.
|
|
wxColour | GetFillColour () const |
| Get fill color.
|
|
bool | HasFillColour () const |
| Check whether fill color is set.
|
|
Class representing patterns.
◆ wxPdfPattern() [1/4]
wxPdfPattern::wxPdfPattern |
( |
int | index, |
|
|
double | width, |
|
|
double | height ) |
Constructor for pattern.
- Parameters
-
index | The pattern index |
width | The pattern width |
height | The pattern height |
◆ wxPdfPattern() [2/4]
wxPdfPattern::wxPdfPattern |
( |
int | index, |
|
|
double | width, |
|
|
double | height, |
|
|
int | templateId ) |
Constructor for pattern.
- Parameters
-
index | The pattern index |
width | The pattern width |
height | The pattern height |
templateId | The id of the template to be used as a pattern |
◆ wxPdfPattern() [3/4]
wxPdfPattern::wxPdfPattern |
( |
int | index, |
|
|
double | width, |
|
|
double | height, |
|
|
wxPdfPatternStyle | patternStyle, |
|
|
const wxColour & | drawColour, |
|
|
const wxColour & | fillColour = wxColour() ) |
Constructor for pattern.
- Parameters
-
index | The pattern index |
width | The pattern width |
height | The pattern height |
patternStyle | The hatch style pattern to be used |
drawColour | The foreground colour to be used for hatching |
fillColour | The background colour to be used to fill the pattern background (optional) |
◆ wxPdfPattern() [4/4]
◆ GetDrawColour()
wxColour wxPdfPattern::GetDrawColour |
( |
| ) |
const |
|
inline |
◆ GetFillColour()
wxColour wxPdfPattern::GetFillColour |
( |
| ) |
const |
|
inline |
◆ GetHeight()
double wxPdfPattern::GetHeight |
( |
| ) |
const |
|
inline |
◆ GetImage()
◆ GetIndex()
int wxPdfPattern::GetIndex |
( |
| ) |
const |
|
inline |
◆ GetObjIndex()
int wxPdfPattern::GetObjIndex |
( |
| ) |
const |
|
inline |
◆ GetPatternStyle()
◆ GetTemplateId()
int wxPdfPattern::GetTemplateId |
( |
| ) |
const |
|
inline |
◆ GetWidth()
double wxPdfPattern::GetWidth |
( |
| ) |
const |
|
inline |
◆ HasFillColour()
bool wxPdfPattern::HasFillColour |
( |
| ) |
const |
|
inline |
Check whether fill color is set.
◆ SetFillColour()
void wxPdfPattern::SetFillColour |
( |
const wxColour & | fillColour | ) |
|
|
inline |
◆ SetImage()
◆ SetObjIndex()
void wxPdfPattern::SetObjIndex |
( |
int | index | ) |
|
|
inline |
The documentation for this class was generated from the following file: