3#include <CesiumUtility/Color.h>
85 std::optional<ColorStyle>
fill;
Classes for loading vector data such as GeoJSON.
LineWidthMode
The mode to use when interpreting a given line width.
@ Meters
The line width will cover this number of meters of the ellipsoid it's rendered on....
@ Pixels
The line will always be this number of pixels in width, no matter how close the user gets to the line...
ColorMode
The mode used for coloring.
@ Random
The color will be chosen randomly.
@ Normal
The normal color mode. The color will be used directly.
Represents an RGBA color value.
Specifies the color of a style type.
ColorMode colorMode
The color mode to be used.
CesiumUtility::Color getColor() const
Obtains the color specified on this ColorStyle.
CesiumUtility::Color color
The color to be used.
The style used to draw polylines and strokes.
double width
The width of this line. If widthMode is set to LineWidthMode::Pixels, this is in pixels....
LineWidthMode widthMode
The mode to use when interpreting width.
The style used to draw a Polygon.
std::optional< ColorStyle > fill
The color used to fill this polygon. If std::nullopt, the polygon will not be filled.
std::optional< LineStyle > outline
The style used to outline this polygon. If std::nullopt, the polygon will not be outlined.
LineStyle line
The style to use when drawing polylines.
VectorStyle()=default
Default constructor for VectorStyle.
VectorStyle(const LineStyle &lineStyle, const PolygonStyle &polygonStyle)
Initializes style information for all types.
PolygonStyle polygon
The style to use when drawing polygons.
VectorStyle(const CesiumUtility::Color &color)
Initializes all styles to the given color.