LuciadCPillar 2023.1.04
|
A builder class for creating fill styles. More...
#include <luciad/layers/styles/FillStyle.h>
Public Member Functions | |
Builder (const Builder &other) | |
~Builder () | |
FillStyle | build () const |
Returns a newly created fill style, based on the properties set on this builder. More... | |
Builder & | color (Color color) |
Sets the fill color. More... | |
Builder & | icon (std::shared_ptr< IIcon > icon) |
Sets the icon to use as fill. More... | |
Builder & | image (std::shared_ptr< Image > image) |
Sets the image to use as fill. More... | |
A builder class for creating fill styles.
luciad::FillStyle::Builder::Builder | ( | const Builder & | other | ) |
luciad::FillStyle::Builder::~Builder | ( | ) |
FillStyle luciad::FillStyle::Builder::build | ( | ) | const |
Returns a newly created fill style, based on the properties set on this builder.
Sets the fill color.
By default, the color is transparent yellow.
color | the fill color |
Sets the icon to use as fill.
By default, no icon is used.
icon | the icon to use as fill style |
luciad::NullArgumentException | when the icon is nullptr . |
Sets the image to use as fill.
By default, no image is used.
For the best performance, reuse the same Image instance when calling this function multiple times for different features.
image | the image to use as fill style |
luciad::NullArgumentException | when the image is nullptr . |