Module: DemCurves::RubygameUtils
- Defined in:
- lib/rubygame-util/control-handles.rb
Defined Under Namespace
Classes: DragGroup, EditorHandle
Class Method Summary collapse
Class Method Details
.populate_handles(ctl_points, drag_group) ⇒ Object
6 7 8 9 10 11 12 |
# File 'lib/rubygame-util/control-handles.rb', line 6 def self.populate_handles(ctl_points, drag_group) ctl_points.each do |control_point| new_handle = EditorHandle.new new_handle.attach_to control_point drag_group << new_handle end end |