CrImage::Draw::LegendStyle
Inherits Reference / Object
LegendStyle defines the appearance of a chart legend.
Constructors
new(background : CrImage::Color::Color | Nil = nil, border_color : CrImage::Color::Color | Nil = nil, text_color : CrImage::Color::Color = Color::BLACK, font_size : Int32 = 12, swatch_size : Int32 = 16, padding : Int32 = 8, spacing : Int32 = 4, orientation : Symbol = :vertical)
SourceInstance methods
background
Sourcebackground=(background : Color::Color | Nil)
Sourceborder_color
Sourceborder_color=(border_color : Color::Color | Nil)
Sourcefont_size
Sourcefont_size=(font_size : Int32)
Sourceorientation
Sourceorientation=(orientation : Symbol)
Sourcepadding
Sourcepadding=(padding : Int32)
Sourcespacing
Sourcespacing=(spacing : Int32)
Sourceswatch_size
Sourceswatch_size=(swatch_size : Int32)
Sourcetext_color
Sourcetext_color=(text_color : Color::Color)
Source