LuciadCPillar 2024.0.08
All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Modules Pages
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

Builder asBuilder () const
 Returns a LineStyle builder that has all properties of this LineStyle. More...
 
Color getColor () const
 Returns the line color. More...
 
double getWidth () const
 Returns the line width in device independent pixels More...
 

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()

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 the line color.

Returns
the line color.

◆ getWidth()

double luciad::LineStyle::getWidth ( ) const

Returns the line width in device independent pixels

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.