class Cryplot::Line

Overview

class used to specific line options

Included Modules

Defined in:

plot/elems/line.cr

Instance Method Summary

Instance methods inherited from module Cryplot::LineMixin(Cryplot::Line)

dash_type(val : Int32) dash_type, line_color(color : String) line_color, line_repr : String line_repr, line_style(val : Int32) line_style, line_type(val : Int32) line_type, line_width(val : Int32) line_width

Instance methods inherited from module Cryplot::BaseMixin(Cryplot::Line)

derived : T derived, repr : String repr, to_s(io : IO) : Nil to_s

Instance Method Detail

def repr : String #
Description copied from module Cryplot::BaseMixin(Cryplot::Line)

returns a string representation of object of some class


[View source]
def to_s(io : IO) : Nil #
Description copied from class Reference

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>

[View source]