class

CrImage::Draw::AxisStyle

Inherits Reference / Object

AxisStyle defines the appearance of a chart axis.

Constructors

new(color : CrImage::Color::Color = Color::BLACK, thickness : Int32 = 1, tick_length : Int32 = 5, tick_count : Int32 = 5, show_grid : Bool = false, grid_color : CrImage::Color::Color = Color::GRAY, text_color : CrImage::Color::Color = Color::BLACK, font_size : Int32 = 10)
Source

Instance methods

color
Source
color=(color : Color::Color)
Source
font_size
Source
font_size=(font_size : Int32)
Source
grid_color
Source
grid_color=(grid_color : Color::Color)
Source
show_grid
Source
show_grid=(show_grid : Bool)
Source
text_color
Source
text_color=(text_color : Color::Color)
Source
thickness
Source
thickness=(thickness : Int32)
Source
tick_count
Source
tick_count=(tick_count : Int32)
Source
tick_length
Source
tick_length=(tick_length : Int32)
Source