Skip to content
Bit Quirky Behavior Trees and
State Machines

Search documentation

All topics and APIs

Close returns focus to Search.

What are you looking for?

Try a common topic or enter a complete API identifier.

Browse the reference instead

Esc closes · Tab reaches results · Enter opens the focused link

v0.6.0
Menu

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.

Original lines: 16-23

Declaration hash: sha256:8d49bd0d251e2af2bc0c7f9a752e70eecd6908d12ada135d618c66bf6a672b9d

C#
public enum PopoverVerticalPlacement
{
}

Original lines: 19

Declaration hash: sha256:6b8c68b9280659693f25ded4a6caa60ba2146989d87e661a4e61931976df2fd5

C#
Below = 0

Original lines: 22

Declaration hash: sha256:0cbff29a33255d1d010be9834249e2a62fd49c5ca874613d58264f341185384a

C#
Above = 1

Original lines: 34-105

Declaration hash: sha256:34dea31447e6f37ab96f331deef4db1d8e2d212fc36adad78aa0857825b84953

C#
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

C#
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

C#
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

C#
public PopoverPlacementOptions(float gap, float horizontalViewportPadding, float verticalViewportPadding, PopoverVerticalPlacement preferredPlacement, float minimumNotchInset, bool constrainToViewportVertically);

Original lines: 86

Declaration hash: sha256:44843a3529295408a72cd02e8a2f24e908a7f0661312c66af08f083d998fadfb

C#
public float Gap { get; }

Original lines: 89

Declaration hash: sha256:89777fb097d95a6b49b96e8ec3aacf0b8ec1fe1735b876e51dd48af75eee3d22

C#
public float ViewportPadding { get; }

Original lines: 92

Declaration hash: sha256:65eaba2b5eeca139e462d3e7ffb906caeb6084f91930186bea021ce936441f71

C#
public float HorizontalViewportPadding { get; }

Original lines: 95

Declaration hash: sha256:b3b246f5d534a45164fc009a1db7a87258340df6e195abd8130b442687e6817b

C#
public float VerticalViewportPadding { get; }

Original lines: 98

Declaration hash: sha256:6e6d8da3b22cc025574f0e72f278c05c091b7b0c92dfc41b7e27a6c967e6a609

C#
public PopoverVerticalPlacement PreferredPlacement { get; }

Original lines: 101

Declaration hash: sha256:fd2cb91ccc1f558260c209d062fbeafc7b1048915f957e58295f8c81002ac302

C#
public float MinimumNotchInset { get; }

Original lines: 104

Declaration hash: sha256:fec900e555fa3ec8a11a1b13906fd5914556c10e252bd1848f65021c9d6da033

C#
public bool ConstrainToViewportVertically { get; }

Original lines: 116-142

Declaration hash: sha256:7bc6e5d8212c72e67f2c2a30b0e9f8ac9ebb5d3c6265fa5bd3239df11fef9729

C#
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

C#
public PopoverPlacementResult(Rect bounds, PopoverVerticalPlacement placement, float notchCenter, bool wasHorizontallyShifted);

Original lines: 132

Declaration hash: sha256:940902cf12744a3e2246f11f208dab6abfc4cb03f71e12b53fce35d419ab8724

C#
public Rect Bounds { get; }

Original lines: 135

Declaration hash: sha256:87c120b32789b2be8fd6c789b80ae26709841e94926b3ea39812d9c21611f74c

C#
public PopoverVerticalPlacement Placement { get; }

Original lines: 138

Declaration hash: sha256:98a24fd599940650bed22ac19d54865e15358a35d019ece3fa0e7c795b5f18fa

C#
public float NotchCenter { get; }

Original lines: 141

Declaration hash: sha256:f76882cb378f522376970eb5c589670be91175b47f01b447c588eb2543aa0185

C#
public bool WasHorizontallyShifted { get; }
Full-size image