Class Tk::BLT::Graph
In: tk/lib/tkextlib/blt/graph.rb
Parent: TkWindow

Methods

extents   inside   invtransform   snap   transform  

Included Modules

PlotComponent GraphCommand

Constants

TkCommandNames = ['::blt::graph'.freeze].freeze
WidgetClassName = 'Graph'.freeze

Public Instance methods

[Source]

# File tk/lib/tkextlib/blt/graph.rb, line 46
    def extents(item)
      num_or_str(tk_send_without_enc('extents', item))
    end

[Source]

# File tk/lib/tkextlib/blt/graph.rb, line 54
    def inside(x, y)
      bool(tk_send_without_enc('inside', x, y))
    end

[Source]

# File tk/lib/tkextlib/blt/graph.rb, line 50
    def invtransform(x, y)
      list(tk_send_without_enc('invtransform', x, y))
    end

[Source]

# File tk/lib/tkextlib/blt/graph.rb, line 58
    def snap(output, keys={})
      tk_send_without_enc('snap', *(hash_kv(keys, false) + output))
      self
    end

[Source]

# File tk/lib/tkextlib/blt/graph.rb, line 63
    def transform(x, y)
      list(tk_send_without_enc('transform', x, y))
    end

[Validate]

ruby-doc.org is hosted and run by James Britt and Happy Camper Studios, a Ruby application development company in Phoenix, Arizona. Ruby-doc.org was created in 2002 to promote the Ruby language and to help other Ruby hackers.

Documentation content on ruby-doc.org is provided by remarkable members of the Ruby community.

For more information on the Ruby programming language, visit ruby-lang.org.

Want to help improve Ruby's API docs? See Ruby Documentation Guidelines.