class

AquaPlot::Util::Title

Inherits Reference / Object

Constructors

new(text : Nil | String = nil, offset : AquaPlot::Util::OffsetXY = AquaPlot::Util::OffsetXY.new, font : AquaPlot::Util::Font = AquaPlot::Util::Font.new, textcolor : Nil | String = nil, linetype : Int32 | Nil = nil, enhanced : Bool = false)
Source

Instance methods

get_title_color
Source
get_title_enhanced
Source
get_title_font
Source
get_title_linetype
Source
get_title_offset
Source
get_title_text
Source
set_title_color(textcolor : Nil | String)
Source
set_title_enhanced(enhanced : Bool)
Source
set_title_font(family, size = nil)
Source
set_title_linetype(linetype : Int32 | Nil)
Source
set_title_offset(x, y)
Source
set_title_text(text : Nil | String)
Source
to_option
Source
to_s

Returns a nicely readable and concise string representation of this object, typically intended for users.

This method should usually not be overridden. It delegates to #to_s(IO) which can be overridden for custom implementations.

Also see #inspect.

Source