A base class for line symbols used to symbolize graphics and features (collectively referred to as geoelements) that have polyline geometry. More...
Member Function Documentation[explicit protected]
LineSymbol::LineSymbol(QObject *parent = nullptr)
Default constructor with an optional parent.
[override virtual noexcept]
LineSymbol::~LineSymbol()
Destructor.
QColor LineSymbol::color() constReturns the color of the line.
When getting the color (or tint color) from a symbol, the consensus value (for all layers) is reported. If there is no consensus (one or more layers have different colors), an empty value is reported for the color. Likewise, setting a value for color on a symbol will apply that color to all layers the symbol contains.
If you don't want changes to the symbol color to propagate to some of the symbol layers it contains, you can lock the color (or tint color) for those layers. If a symbol layer is color-locked, changes to the parent symbol will not affect the symbol layer. This also means that the layer will not be considered when determining a consensus color for the symbol as a whole.
The default value is light gray.
See also setColor().
bool LineSymbol::isAntiAlias() constReturns true
if the line symbol is drawn with anti-aliasing, false
otherwise.
Sets the antiAlias to antiAlias.
See also isAntiAlias.
void LineSymbol::setColor(const QColor &color)Sets the color to color.
See also color.
void LineSymbol::setWidth(float width)Sets the width to width.
See also width.
float LineSymbol::width() constReturns the thickness of the line symbol outline in device-independent pixels (DIPs).
The default value is 1.0.
See also setWidth().
[since Esri::ArcGISRuntime 200.2]
bool LineSymbol::operator!=(const Esri::ArcGISRuntime::LineSymbol &other) const
Inequality operator. Returns true
if this object and other are not equal.
This function was introduced in Esri::ArcGISRuntime 200.2.
See also LineSymbol::operator==.
[since Esri::ArcGISRuntime 200.1]
bool LineSymbol::operator==(const Esri::ArcGISRuntime::LineSymbol &other) const
Tests and returns true
if this line symbol is equal to another line symbol.
This function was introduced in Esri::ArcGISRuntime 200.1.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4