Class: Line
- Inherits:
-
Polyline
- Object
- ActiveRecord::Base
- GraphicObject
- Shape
- Path
- Polygon
- Polyline
- Line
- Defined in:
- app/models/line.rb
Overview
Like a Polyline, except consisting of exactly two points.
A Line object makes its points available as the attributes x1,y1, x2, y2, in addition to the 'points' array
Method Summary
Methods inherited from Polygon
Methods inherited from Path
#to_legacy_json, #to_legacy_xml, #to_svg
Methods inherited from GraphicObject
#get_all_descendants, #get_display_attributes_svg, #get_display_attributes_xml