class Cryplot::FillStyle
- Cryplot::FillStyle
- Reference
- Object
Overview
class used to attach color or pattern fill options to a type
Included Modules
Defined in:
plot/elems/fillstyle.crInstance Method Summary
-
#border_hide
Set the border of the underlying object to be hidden.
-
#border_line_color(color : String)
Set the border line color of the underlying object.
-
#border_line_width(value : Int32)
Set the border line width of the underlying object.
-
#border_show(show = true)
Set the border of the underlying object to be shown or not.
-
#empty
Set an empty fill style for the underlying object.
-
#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).
-
#pattern(num : Int32)
Set a pattern fill style for the underlying object.
-
#repr : String
returns a string representation of object of some class
-
#solid
Set a solid fill style for the underlying object.
-
#to_s(io : IO) : Nil
Appends a short String representation of this object which includes its class name and its object address.
-
#transparent(active = true)
Set the fill of the underlying object to be transparent or not.
Instance methods inherited from module Cryplot::BaseMixin(Cryplot::FillStyle)
derived : T
derived,
repr : String
repr,
to_s(io : IO) : Nil
to_s
Instance Method Detail
Set the fill color intensity of the underlying object with respect to its border color (a value between 0.0 and 1.0).
returns a string representation of object of some class
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>