Class: Layout::Page
- Inherits:
-
Object
- Object
- Layout::Page
Overview
A drawing sheet. The paper size and margin settings are uniform across the entire document (Layout::Document#page_info), with the drawing frame derived from a template; The drawing number is automatically assigned in sequence from 1 to N by page.
Instance Method Summary # collapse
-
#name ⇒ String
Page name.
-
#name= ⇒ String
Rename, up to 200 characters, with one-step undo.
-
#entities ⇒ Layout::Entities
The objects shown on this page, including those on shared layers, are displayed from bottom to top, following the stacking order in the interface; hidden layers are not included.
-
#nonshared_entities ⇒ Layout::Entities
Objects on this page that are not part of shared layers.
-
#document ⇒ Layout::Document
The owning document.
-
#layer_visible?(layer) ⇒ Boolean
Does the layer appear on this page.
-
#set_layer_visibility(layer, visible) ⇒ Layout::Page
Set the visibility of layers in the current page, with one-step undo.
-
#== ⇒ Boolean
Does the same page apply?
-
#eql?(other) ⇒ Boolean
Like #==, used as a key in a Hash.
-
#hash ⇒ Integer
Hash value consistent with #eql?.
-
#inspect ⇒ String
A brief description.
Instance Method Details
page.name ⇒ String
Page name.
page.name = name
Rename, up to 200 characters, with one-step undo.
page.entities ⇒ Layout::Entities
The objects shown on this page, including those on shared layers, are displayed from bottom to top, following the stacking order in the interface; hidden layers are not included.
page.document ⇒ Layout::Document
The owning document.
page.layer_visible?(layer) ⇒ Boolean
Does the layer appear on this page.
page.set_layer_visibility(layer, visible) ⇒ Layout::Page
Set the visibility of layers in the current page, with one-step undo.
page == other ⇒ Boolean
Does the same page apply?
page.eql?(other) ⇒ Boolean
Like #==, used as a key in a Hash.
page.hash ⇒ Integer
Hash value consistent with #eql?.
page.inspect ⇒ String
A brief description.