A GraphicStroke defines a repeated-linear graphic pattern to be used for stroking a line.
More...
#include <GraphicStroke.h>
A GraphicStroke defines a repeated-linear graphic pattern to be used for stroking a line.
- See also
- Stroke, Graphic, ParameterValue
Definition at line 50 of file GraphicStroke.h.
◆ GraphicStroke()
te::se::GraphicStroke::GraphicStroke |
( |
| ) |
|
◆ ~GraphicStroke()
te::se::GraphicStroke::~GraphicStroke |
( |
| ) |
|
◆ clone()
It creates a new copy of this object.
◆ getGap()
◆ getGraphic()
const Graphic * te::se::GraphicStroke::getGraphic |
( |
| ) |
const |
◆ getInitialGap()
◆ removeGraphic()
void te::se::GraphicStroke::removeGraphic |
( |
| ) |
|
◆ setGap()
It sets the distance between two graphics.
- Parameters
-
- Note
- The GraphicStroke object will take the ownership of the informed ParameterValue pointer.
◆ setGraphic()
void te::se::GraphicStroke::setGraphic |
( |
Graphic * |
g | ) |
|
It specifies the linear graphic.
Proper stroking with a linear graphic requires two "hot-spot" points within the space of the graphic to indicate where the rendering line starts and stops. In the case of raster images with no special mark-up, this line will be assumed to be middle pixel row of the image, starting from the first pixel column and ending at the last pixel column.
- Parameters
-
- Note
- The GraphicStroke object will take the ownership of the informed Graphic pointer.
◆ setInitialGap()
void te::se::GraphicStroke::setInitialGap |
( |
ParameterValue * |
initialGap | ) |
|
It specifies how far away the first graphic will be drawn relative to the start of the rendering line.
- Parameters
-
initialGap | The initial gap. |
- Note
- The GraphicStroke object will take the ownership of the informed ParameterValue pointer.
◆ m_gap
It defines the empty space between two Graphics or Labels. (Optional)
Definition at line 122 of file GraphicStroke.h.
◆ m_graphic
Graphic* te::se::GraphicStroke::m_graphic |
|
private |
It specifies the linear graphic. (Mandatory)
Definition at line 120 of file GraphicStroke.h.
◆ m_initialGap
It defines the initial empty space, before the first Graphic or Label should be rendered. (Optional)
Definition at line 121 of file GraphicStroke.h.
The documentation for this class was generated from the following file:
- /home/castejon/castejon_files/develop/terralib5/git_release/src/terralib/se/GraphicStroke.h