![]() |
LuciadCPillar 2024.1.09
|
This class contains styling properties to determine how a line is painted. More...
#include <luciad/layers/styles/LineStyle.h>
Classes | |
class | Builder |
A builder class for creating line styles. More... | |
Public Member Functions | |
Builder | asBuilder () const |
Returns a LineStyle builder that has all properties of this LineStyle. More... | |
Color | getColor () const |
Returns the line color. More... | |
double | getWidth () const |
Returns the line width. More... | |
bool | isInMeters () const |
Returns whether the line width is interpreted as meters instead of pixels. More... | |
Static Public Member Functions | |
static Builder | newBuilder () |
Returns a new builder for creating a LineStyle . More... | |
This class contains styling properties to determine how a line is painted.
Builder luciad::LineStyle::asBuilder | ( | ) | const |
Color luciad::LineStyle::getColor | ( | ) | const |
Returns the line color.
double luciad::LineStyle::getWidth | ( | ) | const |
Returns the line width.
If isInMeters
is true, the line width is interpreted as meters. Otherwise, the line width is interpreted as device independent pixels
bool luciad::LineStyle::isInMeters | ( | ) | const |
Returns whether the line width
is interpreted as meters instead of pixels.
line width
is interpreted as meters instead of pixels.