Class: Layout::Grid
- Inherits:
-
Object
- Object
- Layout::Grid
- Defined in:
- lib/sketchup-api-stubs/stubs/Layout/Grid.rb
Overview
Class that references a Document‘s grid settings.
Instance Method Summary collapse
-
#major_color ⇒ Sketchup::Color
The #major_color method returns the Sketchup::Color for the major grid lines.
-
#major_spacing ⇒ Numeric
The #major_spacing method returns the major space size of the Grid.
-
#minor_color ⇒ Sketchup::Color
The #minor_color method returns the Sketchup::Color for the minor grid lines.
-
#minor_divisions ⇒ Integer
The #minor_divisions method returns the number of minor divisions of the Grid.
- #print? ⇒ Boolean
- #show? ⇒ Boolean
-
#show_major? ⇒ Boolean
The #show_major? method returns whether or not the major grid lines are visible.
-
#show_minor? ⇒ Boolean
The #show_minor? method returns whether or not the minor grid lines are visible.
Instance Method Details
#major_color ⇒ Sketchup::Color
The #major_color method returns the Sketchup::Color for the major grid lines.
22 23 |
# File 'lib/sketchup-api-stubs/stubs/Layout/Grid.rb', line 22 def major_color end |
#major_spacing ⇒ Numeric
The #major_spacing method returns the major space size of the Layout::Grid.
36 37 |
# File 'lib/sketchup-api-stubs/stubs/Layout/Grid.rb', line 36 def major_spacing end |
#minor_color ⇒ Sketchup::Color
The #minor_color method returns the Sketchup::Color for the minor grid lines.
50 51 |
# File 'lib/sketchup-api-stubs/stubs/Layout/Grid.rb', line 50 def minor_color end |
#minor_divisions ⇒ Integer
The #minor_divisions method returns the number of minor divisions of the Layout::Grid.
64 65 |
# File 'lib/sketchup-api-stubs/stubs/Layout/Grid.rb', line 64 def minor_divisions end |
#print? ⇒ Boolean
The #print? method returns whether or not the Layout::Grid is printed.
78 79 |
# File 'lib/sketchup-api-stubs/stubs/Layout/Grid.rb', line 78 def print? end |
#show? ⇒ Boolean
The #show? method returns whether or not the Layout::Grid is visible.
92 93 |
# File 'lib/sketchup-api-stubs/stubs/Layout/Grid.rb', line 92 def show? end |
#show_major? ⇒ Boolean
The #show_major? method returns whether or not the major grid lines are visible.
106 107 |
# File 'lib/sketchup-api-stubs/stubs/Layout/Grid.rb', line 106 def show_major? end |
#show_minor? ⇒ Boolean
The #show_minor? method returns whether or not the minor grid lines are visible.
120 121 |
# File 'lib/sketchup-api-stubs/stubs/Layout/Grid.rb', line 120 def show_minor? end |