Class: Layout::Page
- Inherits:
-
Object
- Object
- Layout::Page
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.
↑ #document ⇒ Layout::Document
The #document method returns the Document that the Layout::Page belongs to.
↑ #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.
↑ #in_presentation=(in_presentation) ⇒ Object
The #in_presentation= method sets whether the Layout::Page is included in presentations.
↑ #in_presentation? ⇒ Boolean
The #in_presentation? method returns whether the Layout::Page is included in presentations.
↑ #layer_instances ⇒ Array<Layout::LayerInstance>
The #layer_instances method returns an array of the LayerInstances for the Layout::Page.
↑ #layer_visible?(layer) ⇒ Boolean
The #layer_visible? method returns whether a Layer is visible on the Layout::Page.
↑ #name ⇒ String
The #name method returns the name of the Layout::Page.
↑ #nonshared_entities ⇒ Layout::Entities
The #nonshared_entities method returns the Entities unique to the Layout::Page.
↑ #set_layer_visibility(layer, visible) ⇒ Boolean
The #set_layer_visibility method sets whether a Layer is visible on the Layout::Page.