module Cryplot::FontMixin(T)

Overview

mixin used to attach font options to a type

Included Modules

Direct including types

Defined in:

plot/elems/font.cr

Instance Method Summary

Instance methods inherited from module Cryplot::BaseMixin(T)

derived : T derived, repr : String repr, to_s(io : IO) : Nil to_s

Instance Method Detail

def font_name(name : String) : T #

set the name of the font (e.g. Helvetica, Georgia, Times).


[View source]
def font_repr : String #

convert this object into a gnuplot formatted string


[View source]
def font_size(size : Int32) : T #

set the font size of the font (e.g. 10,12,16)


[View source]