Layers are how named collections of Parts are drawn in front or behind other collections of Parts in a Diagram. Layers can only contain Parts -- they cannot hold GraphObjects directly.
This constructs an empty Layer; you should set the #name before adding the Layer to a Diagram.
Gets or sets whether the user may copy objects in this layer.
Gets or sets whether the user may delete objects in this layer.
Gets or sets whether the user may group parts together in this layer.
Gets or sets whether the user may draw new links in this layer.
Gets or sets whether the user may move objects in this layer.
Gets or sets whether the user may reconnect existing links in this layer.
Gets or sets whether the user may reshape parts in this layer.
Gets or sets whether the user may resize parts in this layer.
Gets or sets whether the user may rotate parts in this layer.
Gets or sets whether the user may select objects in this layer.
Gets or sets whether the user may do in-place text editing in this layer.
Gets or sets whether the user may ungroup existing groups in this layer.
Gets the Diagram that is using this Layer.
Gets or sets whether the objects in this layer are considered temporary.
Gets or sets the name for this layer.
Gets or sets the opacity for all parts in this layer.
Gets an iterator for this Layer's Parts.
Gets a backwards iterator for this Layer's Parts, for iterating over the parts in reverse order.
Gets or sets whether methods such as #findObjectAt find any of the objects in this layer.
Gets or sets whether the user may view any of the objects in this layer.
Find the front-most GraphObject in this layer at the given point in document coordinates.
A Point in document coordinates.
A function taking a GraphObject and returning a GraphObject, defaulting to the identity.
A function taking the GraphObject returned by navig and returning true if that object should be returned, defaulting to a predicate that always returns true.
Return a collection of the GraphObjects of this layer at the given point in document coordinates.
A Point in document coordinates.
A function taking a GraphObject and returning a GraphObject, defaulting to the identity. If this function returns null, the given GraphObject will not be included in the results.
A function taking the GraphObject returned by navig and returning true if that object should be returned, defaulting to a predicate that always returns true.
An optional collection (List or Set) to add the results to.
Returns a collection of all GraphObjects that are inside or that intersect a given Rect in document coordinates.
A Rect in document coordinates.
A function taking a GraphObject and returning a GraphObject, defaulting to the identity. If this function returns null, the given GraphObject will not be included in the results.
A function taking the GraphObject returned by navig and returning true if that object should be returned, defaulting to a predicate that always returns true.
Whether an object can match if it merely intersects the rectangular area (true) or if it must be entirely inside the rectangular area (false). The default value is false.
An optional collection (List or Set) to add the results to.
Returns a collection of all GraphObjects that are within a certain distance of a given point in document coordinates.
A Point in document coordinates.
The distance from the point.
A function taking a GraphObject and returning a GraphObject, defaulting to the identity. If this function returns null, the given GraphObject will not be included in the results.
A function taking the GraphObject returned by navig and returning true if that object should be returned, defaulting to a predicate that always returns true.
Whether an object can match if it merely intersects the circular area (true) or if it must be entirely inside the circular area (false). The default value is true.
An optional collection (List or Set) to add the results to.