sciplot  0.3.1
A modern C++ plotting library powered by gnuplot
FillSpecsOf< DerivedSpecs > Class Template Reference

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

#include <FillSpecsOf.hpp>

Inheritance diagram for FillSpecsOf< DerivedSpecs >:
[legend]
Collaboration diagram for FillSpecsOf< DerivedSpecs >:
[legend]

Public Member Functions

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

Detailed Description

template<typename DerivedSpecs>
class sciplot::FillSpecsOf< DerivedSpecs >

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


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