NodeRenderLayer enum
The rendering layer for a node.
Nodes are rendered in three layers:
- background: Behind regular nodes (e.g., group annotations)
- middle: Default layer for regular nodes
- foreground: Above nodes and connections (e.g., sticky notes, markers)
Values
- background → const NodeRenderLayer
-
Rendered behind regular nodes.
Use this for elements that should appear as backgrounds or containers, such as group annotations.
- middle → const NodeRenderLayer
-
Default rendering layer for regular nodes.
This is where standard nodes are rendered, above background elements and connections.
- foreground → const NodeRenderLayer
-
Rendered above nodes and connections.
Use this for elements that should overlay the canvas content, such as sticky notes and markers.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
-
values
→ const List<
NodeRenderLayer> - A constant List of the values in this enum, in order of their declaration.