Class: Neuro::Display::Edges
- Inherits:
-
CanvasGroup
- Object
- CanvasGroup
- Neuro::Display::Edges
- Includes:
- Draw
- Defined in:
- lib/neuro/display.rb
Constant Summary
Constants included from Draw
Draw::HEIGHT, Draw::LAYERS, Draw::WIDTH, Draw::XGAP, Draw::YGAP
Instance Method Summary collapse
-
#initialize(root, nh, layer, i, offsets) ⇒ Edges
constructor
A new instance of Edges.
Methods included from Draw
Constructor Details
#initialize(root, nh, layer, i, offsets) ⇒ Edges
Returns a new instance of Edges.
124 125 126 127 128 |
# File 'lib/neuro/display.rb', line 124 def initialize(root, nh, layer, i, offsets) @nh, @layer, @i, @offsets = nh, layer, i, offsets super(root, :x => 0, :y => 0) draw_edges end |