spacing property

double spacing
final

The gap, in logical pixels, between point and the portal's anchor.

The direction is implied by anchor. For example, given a spacing of 4 and a Alignment.topLeft anchor, the portal will be positioned 4 pixels down and to the right of point.

  • point
    ↘ 4px
      ┌────────┐
      │ portal │
      └────────┘

Applied before overflow.

Defaults to 0.

Implementation

final double spacing;