module Cryplot::TitleMixin(T)
Overview
mixin used to attach title options to a type
Included Modules
Direct including types
Defined in:
plot/elems/title.crInstance Method Summary
-
#title(text : String)
Set the text of the title.
-
#title_font_name(name : String)
Set the font name of the title text (e.g., Helvetica, Georgia, Times).
-
#title_font_size(size : Int32)
Set the font point size of the title text (e.g., 10, 12, 16).
- #title_repr
-
#title_shift_along_graph_x(val : Number)
Shift the title element along the x direction within the graph coordinate system.
-
#title_shift_along_graph_y(val : Number)
Shift the title element along the y direction within the graph coordinate system.
-
#title_shift_along_screen_x(val : Number)
Shift the title element along the x direction within the screen coordinate system.
-
#title_shift_along_screen_y(val : Number)
Shift the title element along the y direction within the screen coordinate system.
-
#title_shift_along_x(val : Number)
Shift the title element along the x direction by given number of characters (can be fraction).
-
#title_shift_along_y(val : Number)
Shift the title element along the y direction by given number of characters (can be fraction).
-
#title_text_color(color : String)
Set the color of the title text (e.g.,
"blue"
,"#404040"
)
Instance methods inherited from module Cryplot::BaseMixin(T)
derived : T
derived,
repr : String
repr,
to_s(io : IO) : Nil
to_s
Instance Method Detail
Set the font name of the title text (e.g., Helvetica, Georgia, Times).
Shift the title element along the x direction within the graph coordinate system.
Shift the title element along the y direction within the graph coordinate system.
Shift the title element along the x direction within the screen coordinate system.
Shift the title element along the y direction within the screen coordinate system.
Shift the title element along the x direction by given number of characters (can be fraction).
Shift the title element along the y direction by given number of characters (can be fraction).