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.
Sourceborder_line_color(color :
String)
Set the border line color of the underlying object.
Sourceborder_line_width(value :
Int32)
Set the border line width of the underlying object.
Sourceborder_show(show = true)
Set the border of the underlying object to be shown or not.
Sourceempty
Set an empty fill style for the underlying object.
SourceSet the fill color intensity of the underlying object with respect to its border color (a value between 0.0 and 1.0).
SourceSet a pattern fill style for the underlying object.
Sourcerepr
returns a string representation of object of some class
Sourcesolid
Set a solid fill style for the underlying object.
SourceAppends 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>
Sourcetransparent(active = true)
Set the fill of the underlying object to be transparent or not.
Source