Class: Layout::Grid
Relationships | |
Inherits: | Object |
Overview
Class that references a Document
‘s grid settings.
Instance Attribute Summary
-
#clip_to_margins=(clip)
rw
The #clip_to_margins= method sets whether or not the grid is clipped to the page margins.
-
#clip_to_margins? ⇒ Boolean
rw
The #clip_to_margins? method returns whether or not the grid is clipped to the page margins.
-
#in_front=(in_front)
rw
The #in_front= method sets whether or not the grid is drawn on top of entities.
-
#in_front? ⇒ Boolean
rw
The #in_front? method returns whether or not the grid is drawn on top of entities.
-
#major_color ⇒ Sketchup::Color
rw
The #major_color method returns the
::Sketchup::Color
for the major grid lines. -
#major_color=(color)
rw
The #major_color= method sets the
::Sketchup::Color
for the major grid lines. -
#major_spacing ⇒ Numeric
rw
The #major_spacing method returns the major space size of the
Grid
. -
#major_spacing=(spacing)
rw
The #major_spacing= method sets the major space size of the
Grid
. -
#minor_color ⇒ Sketchup::Color
rw
The #minor_color method returns the
::Sketchup::Color
for the minor grid lines. -
#minor_color=(color)
rw
The #minor_color= method sets the
::Sketchup::Color
for the minor grid lines. -
#minor_divisions ⇒ Integer
rw
The #minor_divisions method returns the number of minor divisions of the
Grid
. -
#minor_divisions=(divisions)
rw
The #minor_divisions= method sets the number of minor divisions of the
Grid
. -
#print=(print)
rw
The #print= method sets whether or not the
Grid
is printed. -
#print? ⇒ Boolean
rw
The #print? method returns whether or not the
Grid
is printed. -
#show=(show)
rw
The #show= method sets whether or not the
Grid
is visible. -
#show? ⇒ Boolean
rw
The #show? method returns whether or not the
Grid
is visible. -
#show_major=(show)
rw
The #show_major= method sets whether or not the major grid lines are visible.
-
#show_major? ⇒ Boolean
rw
The #show_major? method returns whether or not the major grid lines are visible.
-
#show_minor=(show)
rw
The #show_minor= method sets whether or not the minor grid lines are visible.
-
#show_minor? ⇒ Boolean
rw
The #show_minor? method returns whether or not the minor grid lines are visible.
Instance Attribute Details
#clip_to_margins=(clip) (rw)
The #clip_to_margins=
method sets whether or not the grid is clipped to the page margins.
#clip_to_margins? ⇒ Boolean
(rw)
The #clip_to_margins?
method returns whether or not the grid is clipped to the page margins.
#in_front=(in_front) (rw)
The #in_front=
method sets whether or not the grid is drawn on top of entities.
#in_front? ⇒ Boolean
(rw)
The #in_front?
method returns whether or not the grid is drawn on top of entities.
#major_color ⇒ Sketchup::Color (rw)
The #major_color
method returns the ::Sketchup::Color
for the major grid lines.
#major_color=(color) (rw)
The #major_color=
method sets the ::Sketchup::Color
for the major grid lines.
#major_spacing ⇒ Numeric (rw)
The #major_spacing
method returns the major space size of the Grid
.
#major_spacing=(spacing) (rw)
The #major_spacing=
method sets the major space size of the Grid
.
#minor_color ⇒ Sketchup::Color (rw)
The #minor_color
method returns the ::Sketchup::Color
for the minor grid lines.
#minor_color=(color) (rw)
The #minor_color=
method sets the ::Sketchup::Color
for the minor grid lines.
#minor_divisions ⇒ Integer
(rw)
The #minor_divisions
method returns the number of minor divisions of the Grid
.
#minor_divisions=(divisions) (rw)
The #minor_divisions=
method sets the number of minor divisions of the Grid
.
#print=(print) (rw)
The #print=
method sets whether or not the Grid
is printed.
#print? ⇒ Boolean
(rw)
The #print?
method returns whether or not the Grid
is printed.
#show=(show) (rw)
The #show=
method sets whether or not the Grid
is visible.
#show? ⇒ Boolean
(rw)
The #show?
method returns whether or not the Grid
is visible.
#show_major=(show) (rw)
The #show_major=
method sets whether or not the major grid lines are visible.
#show_major? ⇒ Boolean
(rw)
The #show_major?
method returns whether or not the major grid lines are visible.
#show_minor=(show) (rw)
The #show_minor=
method sets whether or not the minor grid lines are visible.
#show_minor? ⇒ Boolean
(rw)
The #show_minor?
method returns whether or not the minor grid lines are visible.