Class: Layout::Layer
Relationships | |
Inherits: | Object |
Overview
This is the interface to a LayOut Layer Definition. A layer definition specifies the document-wide information about a layer. To access the entities on a layer for a given page, use LayerInstance
.
Constant Summary
-
SHARELAYERACTION_CLEAR =
Constants
nil
-
SHARELAYERACTION_KEEPONEPAGE =
Stub value.
nil
-
SHARELAYERACTION_MERGEALLPAGES =
Stub value.
nil
-
UNSHARELAYERACTION_CLEAR =
Stub value.
nil
-
UNSHARELAYERACTION_COPYTOALLPAGES =
Stub value.
nil
-
UNSHARELAYERACTION_COPYTOONEPAGE =
Stub value.
nil
Instance Attribute Summary
-
#locked=(locked)
rw
The #locked= method sets whether the
Layer
is locked. -
#locked? ⇒ Boolean
rw
The #locked? method returns whether the
Layer
is locked. -
#name ⇒ String
rw
The #name method returns the name of the
Layer
. -
#name=(name)
rw
The #name= sets the name of the
Layer
. -
#shared? ⇒ Boolean
readonly
The #shared? method returns whether the
Layer
is shared.
Instance Method Summary
-
#==(other) ⇒ Boolean
The #== method checks to see if the two
Layer
s are equal. - #document ⇒ Layout::Document
-
#layer_instance ⇒ Layout::LayerInstance
The #layer_instance method returns a
LayerInstance
from theLayer
. -
#set_nonshared(page, unshare_action)
The #set_nonshared method sets the
Layer
to non-shared. -
#set_shared(page, share_action)
The #set_shared method sets the
Layer
to shared.
Instance Attribute Details
#locked=(locked) (rw)
The #locked=
method sets whether the Layer
is locked.
#locked? ⇒ Boolean
(rw)
The #locked?
method returns whether the Layer
is locked.
#name ⇒ String (rw)
The #name
method returns the name of the Layer
.
#name=(name) (rw)
The #name=
sets the name of the Layer
.
Instance Method Details
#==(other) ⇒ Boolean
The #==
method checks to see if the two Layer
s 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 Layer
belongs to.
#layer_instance ⇒ Layout::LayerInstance
#layer_instance(page) ⇒ Layout::LayerInstance
The #layer_instance
method returns a LayerInstance
from the Layer
. If the Layer
is shared, a Page
does not have to be provided.