Class: Autocad::Spline
Instance Attribute Summary
Attributes inherited from Element
#acad_type, #app, #ole_obj, #original
Instance Method Summary collapse
- #area ⇒ Object
-
#closed? ⇒ Boolean
whether the spline is closed.
-
#control_points ⇒ Object
ole obj Variant (array of doubles) 3D WCS Control Points for the spline.
-
#control_points=(pts) ⇒ Object
set the control points for the spline.
- #degree ⇒ Object
Methods inherited from Element
#[], #app_ole_obj, #clone, convert_item, #delete, #do_update, #each_complex, #get_property_handler, #in_cell?, #initialize, #method_missing, #move, #move_ole, #move_x, #move_y, #ole_cell, ole_object?, #property_handler, #read_ole, #redraw, #update, #updated?, #write_ole
Methods included from ElementTrait
#autocad_type, #block_reference?, #bounds, #cell?, #def, #drawing, #explode, #graphical?, #has_tags?, #highlight, #id_from_record, #inspect, #line?, #model, #parent, #pviewport?, #select, #text?, #to_ole, #visible?
Constructor Details
This class inherits a constructor from Autocad::Element
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Autocad::Element
Instance Method Details
permalink #area ⇒ Object
[View source]
4 5 6 |
# File 'lib/autocad/spline.rb', line 4 def area @ole_obj.Area end |
permalink #closed? ⇒ Boolean
whether the spline is closed
9 10 11 |
# File 'lib/autocad/spline.rb', line 9 def closed? # : bool @ole_obj.Closed end |
permalink #control_points ⇒ Object
ole obj Variant (array of doubles) 3D WCS Control Points for the spline
16 17 |
# File 'lib/autocad/spline.rb', line 16 def control_points end |
permalink #control_points=(pts) ⇒ Object
set the control points for the spline
21 22 |
# File 'lib/autocad/spline.rb', line 21 def control_points=(pts) end |
permalink #degree ⇒ Object
[View source]
24 25 |
# File 'lib/autocad/spline.rb', line 24 def degree end |