class

Cryplot::FillStyle

Inherits Cryplot::BaseMixin / Reference / Object

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

Instance methods

border_hide

Set the border of the underlying object to be hidden.

Source
border_line_color(color : String)

Set the border line color of the underlying object.

Source
border_line_width(value : Int32)

Set the border line width of the underlying object.

Source
border_show(show = true)

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

Source
empty

Set an empty fill style for the underlying object.

Source
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).

Source
pattern(num : Int32)

Set a pattern fill style for the underlying object.

Source
repr

returns a string representation of object of some class

Source
solid

Set a solid fill style for the underlying object.

Source
to_s(io : IO) : Nil

Appends a short String representation of this object which includes its class name and its object address.

class Person
  def initialize(@name : String, @age : Int32)
  end
end

Person.new("John", 32).to_s # => #<Person:0x10a199f20>
Source
transparent(active = true)

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

Source