class Cryplot::Title
- Cryplot::Title
- Reference
- Object
Included Modules
Defined in:
plot/elems/title.crConstructors
Instance Method Summary
-
#repr : String
returns a string representation of object of some class
-
#to_s(io : IO) : Nil
Appends a short String representation of this object which includes its class name and its object address.
Instance methods inherited from module Cryplot::TitleMixin(Cryplot::Title)
title(text : String)
title,
title_font_name(name : String)
title_font_name,
title_font_size(size : Int32)
title_font_size,
title_repr
title_repr,
title_shift_along_graph_x(val : Number)
title_shift_along_graph_x,
title_shift_along_graph_y(val : Number)
title_shift_along_graph_y,
title_shift_along_screen_x(val : Number)
title_shift_along_screen_x,
title_shift_along_screen_y(val : Number)
title_shift_along_screen_y,
title_shift_along_x(val : Number)
title_shift_along_x,
title_shift_along_y(val : Number)
title_shift_along_y,
title_text_color(color : String)
title_text_color
Instance methods inherited from module Cryplot::BaseMixin(Cryplot::Title)
derived : T
derived,
repr : String
repr,
to_s(io : IO) : Nil
to_s
Constructor Detail
Instance Method Detail
def repr : String
#
Description copied from module Cryplot::BaseMixin(Cryplot::Title)
returns a string representation of object of some class
def to_s(io : IO) : Nil
#
Description copied from class Reference
Appends a short String representation of this object which includes its class name and its object address.
class Person
def initialize(@name : String, @age : Int32)
end
end
Person.new("John", 32).to_s # => #<Person:0x10a199f20>