LuciadCPillar 2024.0.08
|
This class contains styling properties that can be used to configure pins for labels, see FeatureCanvas::LabelDrawCommand::pinStyle
.
More...
#include <luciad/layers/styles/PinStyle.h>
Classes | |
class | Builder |
A builder class for creating pin styles that can be set up to labels, see FeatureCanvas::LabelDrawCommand::pinStyle . More... | |
Public Types | |
enum class | EndPosition { ClosestEdge , ClosestPointOnEdge , MiddleOfBoundsOnEdge } |
Possible positions for the end of the pin. More... | |
Public Member Functions | |
PinStyle::Builder | asBuilder () const |
Returns a PinStyle builder that has all properties of this PinStyle. More... | |
EndPosition | getEndPosition () const |
Returns the location where the pin line connects to the label. More... | |
const LineStyle & | getLineStyle () const |
Returns the line style used to paint the pin. More... | |
double | getVisibilityThreshold () const |
Returns the number of pixels that determine the visibility of a pin line. More... | |
Static Public Member Functions | |
static Builder | newBuilder () |
Returns a new builder for creating a PinStyle . More... | |
This class contains styling properties that can be used to configure pins for labels, see FeatureCanvas::LabelDrawCommand::pinStyle
.
You can create instances of this class using PinStyle::newBuilder
.
|
strong |
Possible positions for the end of the pin.
This is the location where the pin line connects to the label.
PinStyle::Builder luciad::PinStyle::asBuilder | ( | ) | const |
EndPosition luciad::PinStyle::getEndPosition | ( | ) | const |
Returns the location where the pin line connects to the label.
const LineStyle & luciad::PinStyle::getLineStyle | ( | ) | const |
Returns the line style used to paint the pin.
double luciad::PinStyle::getVisibilityThreshold | ( | ) | const |
Returns the number of pixels that determine the visibility of a pin line.
If the pin line length is smaller than this value, it will be discarded.