VMF_DayTimePopoverBackgroundView

@MainActor
final class VMF_DayTimePopoverBackgroundView : UIPopoverBackgroundView

Draws the opaque body and pointer as one shape, with a continuous one-point label-colored border.

  • Width in points of the continuous body-and-arrow outline.

    Declaration

    Swift

    @MainActor
    static let borderWidth: CGFloat
  • Preferred radius in points of the popover body corners.

    Declaration

    Swift

    @MainActor
    static let cornerRadius: CGFloat
  • Declaration

    Swift

    @MainActor
    private var storedArrowOffset: CGFloat
  • Declaration

    Swift

    @MainActor
    private var storedArrowDirection: UIPopoverArrowDirection
  • Arrow displacement from the center, supplied by UIKit.

    Declaration

    Swift

    @MainActor
    override var arrowOffset: CGFloat { get set }
  • Arrow orientation supplied by UIKit.

    Declaration

    Swift

    @MainActor
    override var arrowDirection: UIPopoverArrowDirection { get set }
  • Width in points of the pointer’s base.

    Declaration

    Swift

    @MainActor
    override class func arrowBase() -> CGFloat
  • Height in points reserved for the pointer.

    Declaration

    Swift

    @MainActor
    override class func arrowHeight() -> CGFloat
  • Insets content by the outline width so it does not overlap the border.

    Declaration

    Swift

    @MainActor
    override class func contentViewInsets() -> UIEdgeInsets
  • Configures transparent, bounds-aware drawing for a programmatically created outline.

    Declaration

    Swift

    @MainActor
    override init(frame: CGRect)
  • Configures drawing after decoding.

    Declaration

    Swift

    @MainActor
    required init?(coder: NSCoder)
  • Declaration

    Swift

    @MainActor
    private func configureDrawing()
  • Draws one filled outline, rotated to match UIKit’s arrow direction.

    Declaration

    Swift

    @MainActor
    override func draw(_ inRect: CGRect)