LuciadCPillar 2023.1.04
luciad::LineStyle Class Referencefinal

This class contains styling properties to determine how a line is painted. More...

#include <luciad/layers/styles/LineStyle.h>

Classes

class  Builder
 A builder class for creating line styles. More...
 

Public Member Functions

LineStyle::Builder asBuilder () const
 Returns a LineStyle builder that has all properties of this LineStyle. More...
 
Color getColor () const
 
double getWidth () const
 

Static Public Member Functions

static Builder newBuilder ()
 Returns a new builder for creating a LineStyle. More...
 

Detailed Description

This class contains styling properties to determine how a line is painted.

Since
2020.2

Member Function Documentation

◆ asBuilder()

LineStyle::Builder luciad::LineStyle::asBuilder ( ) const

Returns a LineStyle builder that has all properties of this LineStyle.

Returns
a LineStyle builder that has all properties of this LineStyle.

◆ getColor()

Color luciad::LineStyle::getColor ( ) const
Returns
color The line color

◆ getWidth()

double luciad::LineStyle::getWidth ( ) const
Returns
The line width in device independent pixels

◆ newBuilder()

static Builder luciad::LineStyle::newBuilder ( )
static

Returns a new builder for creating a LineStyle.

Returns
a new builder for creating a LineStyle.