Skip To Content ArcGIS for Developers Sign In Dashboard

KmlLineStyle Class

(Esri::ArcGISRuntime::KmlLineStyle)

A KML line style object. More...

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

Public Functions

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

Additional Inherited Members

Detailed Description

A KML line style object.

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.

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?