PopoverPlacement.cs declarations
Public API declaration excerpts from ../bitquirky-graph/Editor/GraphView/Controls/PopoverPlacement.cs.
Source snapshot ad0983d00d77.
On this page
Original file: ../bitquirky-graph/Editor/GraphView/Controls/PopoverPlacement.cs
Source file hash: sha256:f68e040f84dfb847ff2d162bb6904847c8338640b41d1597b540f7375cd0edb0
Only public declaration headers are shown. Implementation bodies, non-public code, and source comments are omitted.
Type: PopoverVerticalPlacement
Section titled “Type: PopoverVerticalPlacement”Original lines: 16-23
Declaration hash: sha256:8d49bd0d251e2af2bc0c7f9a752e70eecd6908d12ada135d618c66bf6a672b9d
public enum PopoverVerticalPlacement{}Field: Below
Section titled “Field: Below”Original lines: 19
Declaration hash: sha256:6b8c68b9280659693f25ded4a6caa60ba2146989d87e661a4e61931976df2fd5
Below = 0Field: Above
Section titled “Field: Above”Original lines: 22
Declaration hash: sha256:0cbff29a33255d1d010be9834249e2a62fd49c5ca874613d58264f341185384a
Above = 1Type: PopoverPlacementOptions
Section titled “Type: PopoverPlacementOptions”Original lines: 34-105
Declaration hash: sha256:34dea31447e6f37ab96f331deef4db1d8e2d212fc36adad78aa0857825b84953
public readonly struct PopoverPlacementOptions{}Method: PopoverPlacementOptions(float gap, float viewportPadding, PopoverVerticalPlacement preferredPlacement, float minimumNotchInset)
Section titled “Method: PopoverPlacementOptions(float gap, float viewportPadding, PopoverVerticalPlacement preferredPlacement, float minimumNotchInset)”Original lines: 37-49
Declaration hash: sha256:ce54e95760d8f46b99482364c52e9b37ed654fe3bbd1a2233aa74e1f3eb03de2
public PopoverPlacementOptions(float gap, float viewportPadding, PopoverVerticalPlacement preferredPlacement, float minimumNotchInset);Method: PopoverPlacementOptions(float gap, float horizontalViewportPadding, float verticalViewportPadding, PopoverVerticalPlacement preferredPlacement, float minimumNotchInset)
Section titled “Method: PopoverPlacementOptions(float gap, float horizontalViewportPadding, float verticalViewportPadding, PopoverVerticalPlacement preferredPlacement, float minimumNotchInset)”Original lines: 52-66
Declaration hash: sha256:fb521035cbaf21603c1ae526f64802912560adc67bca7b093cc3cbfd497a6db2
public PopoverPlacementOptions(float gap, float horizontalViewportPadding, float verticalViewportPadding, PopoverVerticalPlacement preferredPlacement, float minimumNotchInset);Method: PopoverPlacementOptions(float gap, float horizontalViewportPadding, float verticalViewportPadding, PopoverVerticalPlacement preferredPlacement, float minimumNotchInset, bool constrainToViewportVertically)
Section titled “Method: PopoverPlacementOptions(float gap, float horizontalViewportPadding, float verticalViewportPadding, PopoverVerticalPlacement preferredPlacement, float minimumNotchInset, bool constrainToViewportVertically)”Original lines: 69-83
Declaration hash: sha256:5b447efde4be8e579e7523b4d5f6d4a90e5674eb3000bb757a671c84a16cce10
public PopoverPlacementOptions(float gap, float horizontalViewportPadding, float verticalViewportPadding, PopoverVerticalPlacement preferredPlacement, float minimumNotchInset, bool constrainToViewportVertically);Property: Gap
Section titled “Property: Gap”Original lines: 86
Declaration hash: sha256:44843a3529295408a72cd02e8a2f24e908a7f0661312c66af08f083d998fadfb
public float Gap { get; }Property: ViewportPadding
Section titled “Property: ViewportPadding”Original lines: 89
Declaration hash: sha256:89777fb097d95a6b49b96e8ec3aacf0b8ec1fe1735b876e51dd48af75eee3d22
public float ViewportPadding { get; }Property: HorizontalViewportPadding
Section titled “Property: HorizontalViewportPadding”Original lines: 92
Declaration hash: sha256:65eaba2b5eeca139e462d3e7ffb906caeb6084f91930186bea021ce936441f71
public float HorizontalViewportPadding { get; }Property: VerticalViewportPadding
Section titled “Property: VerticalViewportPadding”Original lines: 95
Declaration hash: sha256:b3b246f5d534a45164fc009a1db7a87258340df6e195abd8130b442687e6817b
public float VerticalViewportPadding { get; }Property: PreferredPlacement
Section titled “Property: PreferredPlacement”Original lines: 98
Declaration hash: sha256:6e6d8da3b22cc025574f0e72f278c05c091b7b0c92dfc41b7e27a6c967e6a609
public PopoverVerticalPlacement PreferredPlacement { get; }Property: MinimumNotchInset
Section titled “Property: MinimumNotchInset”Original lines: 101
Declaration hash: sha256:fd2cb91ccc1f558260c209d062fbeafc7b1048915f957e58295f8c81002ac302
public float MinimumNotchInset { get; }Property: ConstrainToViewportVertically
Section titled “Property: ConstrainToViewportVertically”Original lines: 104
Declaration hash: sha256:fec900e555fa3ec8a11a1b13906fd5914556c10e252bd1848f65021c9d6da033
public bool ConstrainToViewportVertically { get; }Type: PopoverPlacementResult
Section titled “Type: PopoverPlacementResult”Original lines: 116-142
Declaration hash: sha256:7bc6e5d8212c72e67f2c2a30b0e9f8ac9ebb5d3c6265fa5bd3239df11fef9729
public readonly struct PopoverPlacementResult{}Method: PopoverPlacementResult(Rect bounds, PopoverVerticalPlacement placement, float notchCenter, bool wasHorizontallyShifted)
Section titled “Method: PopoverPlacementResult(Rect bounds, PopoverVerticalPlacement placement, float notchCenter, bool wasHorizontallyShifted)”Original lines: 119-129
Declaration hash: sha256:e1f788aac1527505b31b9cfa67dde5deac80808dc9661739b1fbd3542132f450
public PopoverPlacementResult(Rect bounds, PopoverVerticalPlacement placement, float notchCenter, bool wasHorizontallyShifted);Property: Bounds
Section titled “Property: Bounds”Original lines: 132
Declaration hash: sha256:940902cf12744a3e2246f11f208dab6abfc4cb03f71e12b53fce35d419ab8724
public Rect Bounds { get; }Property: Placement
Section titled “Property: Placement”Original lines: 135
Declaration hash: sha256:87c120b32789b2be8fd6c789b80ae26709841e94926b3ea39812d9c21611f74c
public PopoverVerticalPlacement Placement { get; }Property: NotchCenter
Section titled “Property: NotchCenter”Original lines: 138
Declaration hash: sha256:98a24fd599940650bed22ac19d54865e15358a35d019ece3fa0e7c795b5f18fa
public float NotchCenter { get; }Property: WasHorizontallyShifted
Section titled “Property: WasHorizontallyShifted”Original lines: 141
Declaration hash: sha256:f76882cb378f522376970eb5c589670be91175b47f01b447c588eb2543aa0185
public bool WasHorizontallyShifted { get; }