DropletNotchGeometry
How the notch surface is physically shaped on one display.
struct DropletNotchGeometry
Initializers
init(closedWidth:closedHeight:cornerRadius:isHardwareNotch:displayID:)
init(closedWidth: CGFloat, closedHeight: CGFloat, cornerRadius: CGFloat, isHardwareNotch: Bool, displayID: UInt32)
Properties
closedHeight
let closedHeight: CGFloat
Height of the closed notch, in points.
closedWidth
let closedWidth: CGFloat
Width of the closed notch, in points.
cornerRadius
let cornerRadius: CGFloat
Corner radius the host rounds its surfaces to.
displayID
let displayID: UInt32
The display this geometry describes.
isHardwareNotch
let isHardwareNotch: Bool
Whether this display has a real hardware notch. false means the host is drawing a simulated island near the top edge.