TitleSpecsOf< DerivedSpecs > Class Template Reference
The class used to attach title options to a type. More...
#include <TitleSpecsOf.hpp>
Inheritance diagram for TitleSpecsOf< DerivedSpecs >:
Collaboration diagram for TitleSpecsOf< DerivedSpecs >:
Public Member Functions | |
| TitleSpecsOf () | |
| Construct a default TitleSpecsOf instance. | |
| auto | title (std::string title) -> DerivedSpecs & |
| Set the text of the title. | |
| auto | titleShiftAlongX (double chars) -> DerivedSpecs & |
| Shift the title element along the x direction by given number of characters (can be fraction). | |
| auto | titleShiftAlongY (double chars) -> DerivedSpecs & |
| Shift the title element along the y direction by given number of characters (can be fraction). | |
| auto | titleShiftAlongGraphX (double val) -> DerivedSpecs & |
| Shift the title element along the x direction within the graph coordinate system. | |
| auto | titleShiftAlongGraphY (double val) -> DerivedSpecs & |
| Shift the title element along the y direction within the graph coordinate system. | |
| auto | titleShiftAlongScreenX (double val) -> DerivedSpecs & |
| Shift the title element along the x direction within the screen coordinate system. | |
| auto | titleShiftAlongScreenY (double val) -> DerivedSpecs & |
| Shift the title element along the y direction within the screen coordinate system. | |
| auto | titleTextColor (std::string color) -> DerivedSpecs & |
Set the color of the title text (e.g., "blue", "#404040") | |
| auto | titleFontName (std::string name) -> DerivedSpecs & |
| Set the font name of the title text (e.g., Helvetica, Georgia, Times). | |
| auto | titleFontSize (int size) -> DerivedSpecs & |
| Set the font point size of the title text (e.g., 10, 12, 16). | |
| auto | repr () const -> std::string |
| Convert this TitleSpecsOf 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::TitleSpecsOf< DerivedSpecs >
The class used to attach title options to a type.
The documentation for this class was generated from the following file:
- sciplot/specs/TitleSpecsOf.hpp
Public Member Functions inherited from