Class: GridGenerator::Cubic::FrontGrid

Inherits:
Grid
  • Object
show all
Defined in:
lib/grid_generator/cubic/front_grid.rb

Constant Summary

Constants inherited from Grid

Grid::COLOURS

Instance Attribute Summary

Attributes inherited from Grid

#squares, #units, #x, #y

Instance Method Summary collapse

Methods inherited from Grid

#==, #base_shape, #base_shape_style, #bottom_left, #bottom_right, #column_line_end, #column_line_start, #columns, #element_shapes, #height, #height_unit, #initialize, #offset_unit, #points, #row_line_end, #row_line_start, #rows, #square_position, #to_svg, #top_left, #top_left_square, #top_right, #width, #width_unit

Constructor Details

This class inherits a constructor from GridGenerator::Cubic::Grid

Instance Method Details

#line_offset_amountObject



11
12
13
# File 'lib/grid_generator/cubic/front_grid.rb', line 11

def line_offset_amount
  0 
end

#sideObject



7
8
9
# File 'lib/grid_generator/cubic/front_grid.rb', line 7

def side
  :front
end

#square_offset_amountObject



15
16
17
# File 'lib/grid_generator/cubic/front_grid.rb', line 15

def square_offset_amount
  0 
end