Table of Contents

Enum CoordinateSpace

Namespace
FlowGraph.Core.Rendering
Assembly
FlowGraph.Core.dll

Specifies which coordinate space a parameter, property, or return value uses.

public enum CoordinateSpace

Fields

Canvas = 0

Canvas coordinates - logical positions independent of zoom/pan. Node positions and graph geometry use this space.

Local = 3

Local coordinates - relative to a parent element's origin. Port positions relative to their node use this space.

[Obsolete("Use Viewport instead. 'Screen' was ambiguous - could mean viewport or control coordinates.")] Screen = 2

Screen coordinates - pixel positions after zoom/pan transforms. Pointer events and direct rendering use this space.

DEPRECATED: This term was ambiguous. Use Viewport instead when referring to viewport-relative coordinates, or document the specific control coordinate space being used.

Viewport = 1

Viewport coordinates - positions within the visible viewport window. The viewport origin (0,0) is the top-left of the visible canvas area. These coordinates change as the user zooms and pans.