Enum CoordinateSpace
Specifies which coordinate space a parameter, property, or return value uses.
public enum CoordinateSpace
Fields
Canvas = 0Canvas coordinates - logical positions independent of zoom/pan. Node positions and graph geometry use this space.
Local = 3Local 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 = 2Screen 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 = 1Viewport 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.