Source
180
180
181
181
// Set the font of the canvas title to the given.
182
182
virtual void setTitleFont(const PlotFont& font) = 0;
183
183
184
184
// Convenience method for setting title font.
185
185
// DEFAULT IMPLEMENTATION.
186
186
virtual void setTitleFont(const PlotFontPtr font);
187
187
188
188
// Returns a copy of the canvas background.
189
189
virtual PlotAreaFillPtr background() const = 0;
190
+
virtual PlotAreaFillPtr defaultBackground() const;
190
191
191
192
// Sets the background of the canvas to the given.
192
193
virtual void setBackground(const PlotAreaFill& areaFill) = 0;
193
194
194
195
// Convenience methods for setting background.
195
196
// DEFAULT IMPLEMENTATION.
196
197
// <group>
197
198
virtual void setBackground(const PlotAreaFillPtr areaFill);
198
199
virtual void setBackground(const casacore::String& color,
199
200
PlotAreaFill::Pattern pattern = PlotAreaFill::FILL);