class SvgDrawer::BlankRow
Public Instance Methods
cell_widths()
click to toggle source
# File lib/svg_drawer/table/blank_row.rb, line 19 def cell_widths Array.new(param(:columns), 0) end
height()
click to toggle source
# File lib/svg_drawer/table/blank_row.rb, line 15 def height @height ||= param(:height) end
incomplete()
click to toggle source
# File lib/svg_drawer/table/blank_row.rb, line 7 def incomplete false end
width()
click to toggle source
# File lib/svg_drawer/table/blank_row.rb, line 11 def width @width ||= param(:width) end
Private Instance Methods
_draw(parent, _col_widths)
click to toggle source
# File lib/svg_drawer/table/blank_row.rb, line 25 def _draw(parent, _col_widths) Utils::RasemWrapper.group(parent, class: param(:class), id: param(:id)) do |row_group| draw_border(row_group) row_group.rectangle(0, 0, width, height, fill: 'none', stroke: 'none') end end