RailResizeHandle.cs declarations
Public API declaration excerpts from ../bitquirky-graph/Editor/GraphView/Controls/RailResizeHandle.cs.
Source snapshot ad0983d00d77.
On this page
Original file: ../bitquirky-graph/Editor/GraphView/Controls/RailResizeHandle.cs
Source file hash: sha256:093ec0297baa6f0e3140ef563109bb02a920edadb158f8a6349b9aa93032b6f8
Only public declaration headers are shown. Implementation bodies, non-public code, and source comments are omitted.
Type: RailResizeHandle
Section titled “Type: RailResizeHandle”Original lines: 23-265
Declaration hash: sha256:0f3e8c45118950ec6171e67790d17655efca056e1790f092f780fb0bcfef371f
public sealed class RailResizeHandle : VisualElement{}Type: GrowDirection
Section titled “Type: GrowDirection”Original lines: 26-39
Declaration hash: sha256:c583e023687786bb4f9950d2cb68bae3f55d620a1073036e3b2440acc5bc5951
public enum GrowDirection{}Field: Leftward
Section titled “Field: Leftward”Original lines: 29
Declaration hash: sha256:a6b5d1d2320e84d8ac298f87dac7eb6f88f39b41e533f04d4cb5759326585cce
LeftwardField: Rightward
Section titled “Field: Rightward”Original lines: 32
Declaration hash: sha256:b48f7951d65a3219f5824401dcc9d44448d3ca6df5f2ae08fa23b835f7ae6e14
RightwardField: Upward
Section titled “Field: Upward”Original lines: 35
Declaration hash: sha256:0c11aa73c791703ce6ab959d42d6b2be237afc62e07dd3b7f25583234d1bed0e
UpwardField: Downward
Section titled “Field: Downward”Original lines: 38
Declaration hash: sha256:0103728b4862982170e0927b6cacc750eaa55414ec8728df779c6544082ee164
DownwardField: ThicknessPx
Section titled “Field: ThicknessPx”Original lines: 46
Declaration hash: sha256:f9bd6bbc2f3360adeecdbfb93e135ce5275a1ebcda2c17b61dcb7d83a887b34b
public const float ThicknessPx = 6f;Method: RailResizeHandle(RailResizeHandle.GrowDirection growDirection, float minimumSize, float maximumSize, Func<float> currentSize, Action<float> onResize, Action<float> onResizeEnd, Action onResizeBegin, Func<bool> canResize)
Section titled “Method: RailResizeHandle(RailResizeHandle.GrowDirection growDirection, float minimumSize, float maximumSize, Func<float> currentSize, Action<float> onResize, Action<float> onResizeEnd, Action onResizeBegin, Func<bool> canResize)”Original lines: 73-149
Declaration hash: sha256:00598d1ada290812a60a7c266df11f76bef50cc2501e5fe773032a3ab88b419d
public RailResizeHandle(GrowDirection growDirection, float minimumSize, float maximumSize, Func<float> currentSize, Action<float> onResize, Action<float> onResizeEnd, Action onResizeBegin = null, Func<bool> canResize = null);Method: SetHighlighted(bool highlighted)
Section titled “Method: SetHighlighted(bool highlighted)”Original lines: 152-155
Declaration hash: sha256:5fe8930addc42c34e937c6dfc3e24fbab9350e7f5b112468e5a6a830f8c5eec5
public void SetHighlighted(bool highlighted);Method: ResolveSize(float startSize, float pointerDelta, float minimumSize, float maximumSize, RailResizeHandle.GrowDirection growDirection)
Section titled “Method: ResolveSize(float startSize, float pointerDelta, float minimumSize, float maximumSize, RailResizeHandle.GrowDirection growDirection)”Original lines: 161-173
Declaration hash: sha256:b030f46c6f51b2e333c4f764c7c17212a9bfa0bccf999ec65d56e9bacb134a76
public static float ResolveSize(float startSize, float pointerDelta, float minimumSize, float maximumSize, GrowDirection growDirection);