LuciadCPillar 2024.0.08
All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Modules Pages
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
 Returns the fill color. More...
 
const std::shared_ptr< IIcon > & getIcon () const
 Returns the icon to use as fill style, or nullptr if no icon is used. More...
 
const std::shared_ptr< Image > & getImage () const
 Returns the image to use as fill style, or nullptr if no image is used. More...
 

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

Returns
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.

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.

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.