LuciadCPillar 2023.1.04
luciad::FillStyle Class Referencefinal

This class contains styling properties to determine how an area is filled. More...

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

Classes

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

Public Member Functions

Builder asBuilder () const
 Returns a builder that has all properties of this FillStyle. More...
 
Color getColor () const
 
const std::shared_ptr< IIcon > & getIcon () const
 
const std::shared_ptr< Image > & getImage () const
 

Static Public Member Functions

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

Detailed Description

This class contains styling properties to determine how an area is filled.

Since
2020.2

Member Function Documentation

◆ asBuilder()

Builder luciad::FillStyle::asBuilder ( ) const

Returns a builder that has all properties of this FillStyle.

Returns
a builder that has all properties of this FillStyle.

◆ getColor()

Color luciad::FillStyle::getColor ( ) const
Returns
color the fill color

◆ getIcon()

const std::shared_ptr< IIcon > & luciad::FillStyle::getIcon ( ) const
Returns
the icon to use as fill style, or nullptr if no icon is used
Since
2022.0

◆ getImage()

const std::shared_ptr< Image > & luciad::FillStyle::getImage ( ) const
Returns
the image to use as fill style, or nullptr if no image is used

◆ newBuilder()

static Builder luciad::FillStyle::newBuilder ( )
static

Returns a new builder for creating a FillStyle.

Returns
a new builder for creating a FillStyle.