cesium-native 0.50.0
Loading...
Searching...
No Matches
CesiumVectorData::LineStyle Struct Reference

The style used to draw polylines and strokes. More...

#include <CesiumVectorData/VectorStyle.h>

Inheritance diagram for CesiumVectorData::LineStyle:
CesiumVectorData::ColorStyle

Public Attributes

double width = 1.0
 The width of this line. If widthMode is set to LineWidthMode::Pixels, this is in pixels. Otherwise, if set to LineWidthMode::Meters, it is in meters.
 
LineWidthMode widthMode = LineWidthMode::Pixels
 The mode to use when interpreting width.
 
- Public Attributes inherited from CesiumVectorData::ColorStyle
CesiumUtility::Color color = CesiumUtility::Color(0xff, 0xff, 0xff, 0xff)
 The color to be used.
 
ColorMode colorMode = ColorMode::Normal
 The color mode to be used.
 

Additional Inherited Members

- Public Member Functions inherited from CesiumVectorData::ColorStyle
CesiumUtility::Color getColor () const
 Obtains the color specified on this ColorStyle.
 

Detailed Description

The style used to draw polylines and strokes.

Definition at line 66 of file VectorStyle.h.

Member Data Documentation

◆ width

double CesiumVectorData::LineStyle::width = 1.0

The width of this line. If widthMode is set to LineWidthMode::Pixels, this is in pixels. Otherwise, if set to LineWidthMode::Meters, it is in meters.

Definition at line 72 of file VectorStyle.h.

◆ widthMode

LineWidthMode CesiumVectorData::LineStyle::widthMode = LineWidthMode::Pixels

The mode to use when interpreting width.

Definition at line 76 of file VectorStyle.h.


The documentation for this struct was generated from the following file: