Skip To Content ArcGIS for Developers Sign In Dashboard

KmlLineStyle Class

class Esri::ArcGISRuntime::KmlLineStyle

A KML line style object. More...

Header: #include <KmlLineStyle>
Since: Esri::ArcGISRuntime 100.7
Inherits: Esri::ArcGISRuntime::KmlColorStyle

This class was introduced in Esri::ArcGISRuntime 100.7.

Public Functions

KmlLineStyle(const QColor &lineColor, double width, QObject *parent = nullptr)
virtual ~KmlLineStyle() override
void setWidth(double width)
double width() const

Detailed Description

KmlLineStyle specifies the drawing style (color, color mode, and line width) for all line geometry. Line geometry includes the outlines of outlined polygons and the extruded "tether" of Placemark icons (if extrusion is enabled).

Member Function Documentation

KmlLineStyle::KmlLineStyle(const QColor &lineColor, double width, QObject *parent = nullptr)

*

Creates a line style with the specified color and width. * *

  • lineColor The KML line style's color. Default is RGBA(255,255,255,255)
  • width Width of the KML line style, in pixels. Default is 1.0
  • parent Parent object of line style.

[override virtual] KmlLineStyle::~KmlLineStyle()

Destructor

void KmlLineStyle::setWidth(double width)

Sets the KmlLineStyle's width.

width New value for width.

See also width().

double KmlLineStyle::width() const

Returns the KmlLineStyle's width.

See also setWidth().


Feedback on this topic?