Method: ElementLine#initialize

Defined in:
lib/render_svg3.rb

#initializeElementLine

Returns a new instance of ElementLine.



143
144
145
146
147
148
149
# File 'lib/render_svg3.rb', line 143

def initialize()
  super
  local_properties = {'x1' => '','y1' => '', 'x2' => '', 'y2' => ''}
  @property.merge!(local_properties)
  @style_property = {'stroke' => '', 'stroke-width' => ''}
  @type = :line
end