scatter 0.1.0
LegendOptions.hpp
1/*
2 * Copyright (C) Tobias Löw (tobi.loew@protonmail.ch)
3 *
4 * This file is part of Scatter
5 *
6 * Scatter is free software: you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation, either version 3 of the License, or
9 * (at your option) any later version.
10 *
11 * Scatter is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
15 *
16 * You should have received a copy of the GNU General Public License
17 * along with Scatter. If not, see <https://www.gnu.org/licenses/>.
18 */
19
20#pragma once
21
22#include <scatter/Options.hpp>
23
24namespace scatter
25{
32 {
33 public:
39
45
50 LegendOptions &setShow(const bool &show);
51
56 LegendOptions &setAnchor(const Anchor &anchor);
57
62 LegendOptions &setBoxed(const bool &boxed);
63
68 const bool &getShow() const;
69
74 const Anchor &getAnchor() const;
75
80 const bool &getBoxed() const;
81
82 private:
84 bool show_;
86 Anchor anchor_;
88 bool boxed_;
89 };
90} // namespace scatter
[brief description]
Definition LegendOptions.hpp:32
LegendOptions()
[brief description]
const bool & getShow() const
[brief description]
const Anchor & getAnchor() const
[brief description]
~LegendOptions()
[brief description]
LegendOptions & setShow(const bool &show)
[brief description]
LegendOptions & setAnchor(const Anchor &anchor)
[brief description]
LegendOptions & setBoxed(const bool &boxed)
[brief description]
const bool & getBoxed() const
[brief description]