sciplot  0.3.1
A modern C++ plotting library powered by gnuplot
FillStyleSpecs Class Reference

The class used to attach color or pattern fill options to a type. More...

#include <FillStyleSpecs.hpp>

Inheritance diagram for FillStyleSpecs:
[legend]
Collaboration diagram for FillStyleSpecs:
[legend]

Public Member Functions

 FillStyleSpecs ()
 Construct a default FillStyleSpecs instance.
 
auto empty () -> FillStyleSpecs &
 Set an empty fill style for the underlying object.
 
auto solid () -> FillStyleSpecs &
 Set a solid fill style for the underlying object.
 
auto pattern (int number) -> FillStyleSpecs &
 Set a pattern fill style for the underlying object.
 
auto intensity (double value) -> FillStyleSpecs &
 Set the fill color intensity of the underlying object with respect to its border color (a value between 0.0 and 1.0).
 
auto transparent (bool active=true) -> FillStyleSpecs &
 Set the fill of the underlying object to be transparent or not.
 
auto borderLineColor (std::string color) -> FillStyleSpecs &
 Set the border line color of the underlying object.
 
auto borderLineWidth (int value) -> FillStyleSpecs &
 Set the border line width of the underlying object.
 
auto borderShow (bool value=true) -> FillStyleSpecs &
 Set the border of the underlying object to be shown or not.
 
auto borderHide () -> FillStyleSpecs &
 Set the border of the underlying object to be hidden.
 
auto repr () const -> std::string
 Convert this FillStyleSpecs object into a gnuplot formatted string.
 
- Public Member Functions inherited from Specs< FillStyleSpecs >
virtual ~Specs ()=default
 Pure virtual destructor (this class is an abstract base class).
 
virtual auto repr () const -> std::string=0
 Return a string representation of this object of some class that derives from specs.
 
 operator std::string () const
 Return a string representation of this object of some class that derives from specs.
 
auto derived () -> FillStyleSpecs &
 Return a reference to the specs object of class derived from this.
 
auto derived () const -> const FillStyleSpecs &
 Return a const reference to the specs object of class derived from this.
 

Detailed Description

The class used to attach color or pattern fill options to a type.


The documentation for this class was generated from the following file: