TextSpecs Class Reference
The class used to specify text options. More...
#include <TextSpecsOf.hpp>
Inheritance diagram for TextSpecs:
Collaboration diagram for TextSpecs:
Additional Inherited Members | |
Public Member Functions inherited from TextSpecsOf< TextSpecs > | |
| TextSpecsOf () | |
| Construct a default TextSpecsOf instance. | |
| auto | textColor (std::string color) -> TextSpecs & |
Set the color of the text (e.g., "blue", "#404040") | |
| auto | enhanced (bool value=true) -> TextSpecs & |
| Set the enhanced mode of the text. More... | |
| auto | repr () const -> std::string |
| Convert this TextSpecsOf object into a gnuplot formatted string. | |
Public Member Functions inherited from FontSpecsOf< TextSpecs > | |
| FontSpecsOf () | |
| Construct a default FontSpecsOf instance. | |
| auto | fontName (std::string name) -> TextSpecs & |
| Set the name of the font (e.g., Helvetica, Georgia, Times). | |
| auto | fontSize (std::size_t size) -> TextSpecs & |
| Set the point size of the font (e.g., 10, 12, 16). | |
Public Member Functions inherited from Specs< TextSpecs > | |
| 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 () -> TextSpecs & |
| Return a reference to the specs object of class derived from this. | |
| auto | derived () const -> const TextSpecs & |
| Return a const reference to the specs object of class derived from this. | |
Detailed Description
The class used to specify text options.
The documentation for this class was generated from the following file:
- sciplot/specs/TextSpecsOf.hpp
Public Member Functions inherited from