Class: Layout::Page
- Inherits:
-
Object
- Object
- Layout::Page
- Defined in:
- lib/sketchup-api-stubs/stubs/Layout/Page.rb
Overview
Class for a single page in a LayOut document.
Instance Method Summary collapse
- #==(other) ⇒ Boolean
- #document ⇒ Layout::Document
- #entities ⇒ Layout::Entities
-
#in_presentation=(in_presentation) ⇒ Object
The #in_presentation= method sets whether the Page is included in presentations.
-
#in_presentation? ⇒ Boolean
The #in_presentation? method returns whether the Page is included in presentations.
-
#layer_instances ⇒ Array<Layout::LayerInstance>
The #layer_instances method returns an array of the LayerInstances for the Page.
-
#layer_visible?(layer) ⇒ Boolean
The #layer_visible? method returns whether a Layer is visible on the Page.
- #name ⇒ String
-
#name=(name) ⇒ Object
The #name= method sets the name of a page.
-
#nonshared_entities ⇒ Layout::Entities
The #nonshared_entities method returns the Entities unique to the Page.
-
#set_layer_visibility(layer, visible) ⇒ Boolean
The #set_layer_visibility method sets whether a Layer is visible on the Page.
Instance Method Details
#==(other) ⇒ Boolean
The #== method checks to see if the two Layout::Pages are equal. This checks whether the Ruby Objects are pointing to the same internal object.
25 26 |
# File 'lib/sketchup-api-stubs/stubs/Layout/Page.rb', line 25 def ==(other) end |
#document ⇒ Layout::Document
The #document method returns the Document that the Layout::Page belongs to.
40 41 |
# File 'lib/sketchup-api-stubs/stubs/Layout/Page.rb', line 40 def document end |
#entities ⇒ Layout::Entities
The #entities method returns all Entitys that are on the Layout::Page. This is the equivalent of iterating over all LayerInstances and using LayerInstance.entities.
55 56 |
# File 'lib/sketchup-api-stubs/stubs/Layout/Page.rb', line 55 def entities end |
#in_presentation=(in_presentation) ⇒ Object
The #in_presentation= method sets whether the Layout::Page is included in presentations.
69 70 |
# File 'lib/sketchup-api-stubs/stubs/Layout/Page.rb', line 69 def in_presentation=(in_presentation) end |
#in_presentation? ⇒ Boolean
The #in_presentation? method returns whether the Layout::Page is included in presentations.
83 84 |
# File 'lib/sketchup-api-stubs/stubs/Layout/Page.rb', line 83 def in_presentation? end |
#layer_instances ⇒ Array<Layout::LayerInstance>
The #layer_instances method returns an array of the LayerInstances for the Layout::Page.
95 96 |
# File 'lib/sketchup-api-stubs/stubs/Layout/Page.rb', line 95 def layer_instances end |
#layer_visible?(layer) ⇒ Boolean
The #layer_visible? method returns whether a Layer is visible on the Layout::Page.
114 115 |
# File 'lib/sketchup-api-stubs/stubs/Layout/Page.rb', line 114 def layer_visible?(layer) end |
#name ⇒ String
The #name method returns the name of the Layout::Page.
127 128 |
# File 'lib/sketchup-api-stubs/stubs/Layout/Page.rb', line 127 def name end |
#name=(name) ⇒ Object
The #name= method sets the name of a page.
142 143 |
# File 'lib/sketchup-api-stubs/stubs/Layout/Page.rb', line 142 def name=(name) end |
#nonshared_entities ⇒ Layout::Entities
The #nonshared_entities method returns the Entities unique to the Layout::Page.
156 157 |
# File 'lib/sketchup-api-stubs/stubs/Layout/Page.rb', line 156 def nonshared_entities end |
#set_layer_visibility(layer, visible) ⇒ Boolean
The #set_layer_visibility method sets whether a Layer is visible on the Layout::Page.
180 181 |
# File 'lib/sketchup-api-stubs/stubs/Layout/Page.rb', line 180 def set_layer_visibility(layer, visible) end |