class AquaPlot::Util::Title

Defined in:

util/title.cr

Constructors

Instance Method Summary

Constructor Detail

def self.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) #

[View source]

Instance Method Detail

def get_title_color #

[View source]
def get_title_enhanced #

[View source]
def get_title_font #

[View source]
def get_title_linetype #

[View source]
def get_title_offset #

[View source]
def get_title_text #

[View source]
def set_title_color(textcolor : Nil | String) #

[View source]
def set_title_enhanced(enhanced : Bool) #

[View source]
def set_title_font(family, size = nil) #

[View source]
def set_title_linetype(linetype : Int32 | Nil) #

[View source]
def set_title_offset(x, y) #

[View source]
def set_title_text(text : Nil | String) #

[View source]
def to_option #

[View source]
def to_s #
Description copied from class Object

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.


[View source]