public sealed class NodeWireLayerThe layer the wires are drawn on.
No guide page documents this yet — the page shows what the code says about itself.
Remarks
An element of its own, and it has to be. OnDraw runs before an element's children, so wires drawn by the canvas would be under the groups as well as under the nodes — and a group's box is opaque. A sibling between the two puts them exactly where they belong: over the groups, under the nodes.
It takes no pointer events. A wire is selected by clicking near it, which the canvas answers with arithmetic against the curve, and a full-canvas element that swallowed clicks would make everything under it unreachable.
Fields and properties (2)
protected override string TagNameThe element name this type answers to when a caller does not choose one.
public NodeCanvas? CanvasThe canvas it draws for.
Methods (1)
protected override void OnDraw(DrawContext context)Draws whatever this element is, beyond what a stylesheet can describe.
Used by (1)
- NodeCanvasVixen.Ui.Controls.Advanced