Class: Tuile::Component::Overlay::TopRight
- Inherits:
-
Data
- Object
- Data
- Tuile::Component::Overlay::TopRight
- Includes:
- Placement
- Defined in:
- lib/tuile/component/overlay.rb,
sig/tuile.rbs
Overview
Puts the overlay in the screen's top-right corner at the size it declares (#declared_size_in) — Notification's default.
Instance Method Summary collapse
-
#anchor ⇒ Component, ...
What this placement hangs off, re-read on every pass — see the Anchors section above.
-
#rect_for(overlay, screen_size, _anchor_rect) ⇒ Rect
@param
overlay.
Instance Method Details
#anchor ⇒ Component, ...
What this placement hangs off, re-read on every pass — see the Anchors section above.
@return — nil, the default, is not anchored.
7289 |
# File 'sig/tuile.rbs', line 7289
def anchor: () -> (Component | Rect)?
|