Photo-Paint:Layer Members

From OberonPlace Development Portal

Jump to: navigation, search
This object model documentation page is a stub automatically generated from application type library.
Please help by editing this page and filling in the missing details.
For guidelines and help please visit Editing Object Model Pages

Contents

Layer Members

Class Layer has the following members:

Properties

Name Description
Active Gets whether the layer is active (read-only)
Application Gets the application to which the object belongs (read-only)
ClipToParent Gets or sets whether to clip the pixels of a child layer to the shape of its parent layer
Grouped Gets whether the layer is grouped (read-only)
LayerGroup Gets a value associated with a grouped layer range (read-only)
MergeMode Gets or sets the merge mode in a layer
Name Gets or sets the name the specified layer
ObjectLayer Gets a value associated with the object layer (read-only)
Opacity Gets or sets the opacity of the selected layer(s)
Parent Gets the parent document object (read-only)
PositionX Gets or sets the horizontal position of a layer's center
PositionY Gets or sets the vertical position of a layer's center
Selected Gets or sets whether the layer is selected
SizeHeight Gets or sets the height of a layer
SizeWidth Gets or sets the width of a layer
Type Gets the type of the layer (read-only)
URLAddress Gets or sets the web address associated with a URL region in a layer
URLComment Gets or sets a string value that describes a URL region in a layer
URLRegion Gets or sets the type of URL region in a layer
Visible Gets or sets the visibility status of the layer
ZOrder Gets or sets the zorder of the layer

Methods

Name Description
Activate Makes this layer the active one
AffineDistort Distorts the layer
AlignToDocument Sets the alignment of the layer, according to the alignment type in the document
AlignToDocumentCenter Sets the alignment of the layer to the center of a document
AlignToGrid Sets the alignment of the layer to the grid
AlignToLayer Sets the alignment of the active layer to another layer
AlignToLayerRange Sets the alignment of the active layer to a range of layers
AlignToPoint Sets the alignment of the active layer to a specified point
Copy Copies the layer
CreateFloater Sets whether to create a floating selection in the active layer
CreateMask Creates a mask on the layer
CreatePalette Creates a new color palette from the colors used in the layer
CreateSelection Selects this layer only
CropToMask Sets whether to crop a layer's image around a mask
Cut Cuts the layer
Delete Deletes the selected layer(s)
Distort Distorts the shape of the selected layer
Duplicate Duplicates the selected layer(s). The new layers are placed in front of existing layers and remain selected. The original layers are deselected
Feather Feathers the edges of the selected layer(s)
Flip Flips the layer
GetPosition Gets the center point of the layer
GetSize Gets the width and height of a layer
IsInFrontOf Gets or sets whether a layer is in front of a specified layer in the stacking order
Merge Merges the selected layer(s) or all layers with the background. The layers(s) become(s) part of the image and cannot be selected again
Move Moves the layer a specified distance from its original location
OrderBackOf Sets the stacking order of the layer by moving it to the back of a specified layer in the stacking order
OrderBackOne Sets the stacking order of the layer by moving it back one in the stacking order
OrderForwardOne Sets the stacking order of the layer by moving it forward one in the stacking order
OrderFrontOf Sets the stacking order of the layer by moving it to the front of a specified layer in the stacking order
OrderToBack Sets the stacking order of the layer by moving it to the back of the stacking order
OrderToFront Sets the stacking order of the layer by moving it to the front of the stacking order
PasteFloater Sets whether to paste a selection as a floater selection on the layer
Rotate Rotates the selected layer(s) by the specified angle, about the given rotation point
SetPosition Sets the center point of the layer
SetSize Sets the width and height of the layer
Skew Skews the selected layer(s)
Stretch Stretches the selected layer(s)
Threshold Alters the edges of mask selections or objects by removing the smooth transition between a selection, or a layer, and the underlying image
Ungroup Breaks up the selected group into its individual objects
UngroupAll Removes the grouping feature from all nested groups of the layer

References

Personal tools