cesium-native 0.51.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 (size_t randomColorSeed=0) const
 Obtains the color specified on this ColorStyle.
 

Detailed Description

The style used to draw polylines and strokes.

Definition at line 70 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 76 of file VectorStyle.h.

◆ widthMode

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

The mode to use when interpreting width.

Definition at line 80 of file VectorStyle.h.


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