module Cryplot::FillMixin(T)

Overview

mixin used to attach color or pattern fill options to a type

Included Modules

Direct including types

Defined in:

plot/elems/fill.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 border_hide #

Set the border of the underlying object to be hidden.


[View source]
def border_line_color(color : String) #

Set the border line color of the underlying object.


[View source]
def border_line_width(value : Int32) #

Set the border line width of the underlying object.


[View source]
def border_show(show = true) #

Set the border of the underlying object to be shown or not.


[View source]
def fill_color(color : String) #

Set the color for the solid or pattern fill of the underlying object.


[View source]
def fill_empty #

Set an empty fill style for the underlying object.


[View source]
def fill_intensity(value : Float64) #

Set the fill color intensity of the underlying object with respect to its border color (a value between 0.0 and 1.0).


[View source]
def fill_pattern(num : Int32) #

Set a pattern fill style for the underlying object.


[View source]
def fill_repr #

[View source]
def fill_solid #

Set a solid fill style for the underlying object.


[View source]
def fill_transparent(active = true) #

Set the fill of the underlying object to be transparent or not.


[View source]