init
TypeScriptstatic init(): Promise<UIPreviewParameters>Swift declarationinit()class · iOS 13.0+ · SDK 27.1
@MainActor class UIPreviewParametersstatic init(): Promise<UIPreviewParameters>Swift declarationinit()static initTextLineRects(textLineRects: Array<_Foundation_NSValue>): Promise<UIPreviewParameters>Swift declarationconvenience init(textLineRects: [NSValue])get backgroundColor(): Promise<(UIColor) | null>Swift declaration@NSCopying var backgroundColor: UIColor! { get set }setBackgroundColor(value?: (UIColor) | null): Promise<void>Swift declaration@NSCopying var backgroundColor: UIColor! { get set }get shadowPath(): Promise<(UIBezierPath) | null>Swift declaration@NSCopying var shadowPath: UIBezierPath? { get set }setShadowPath(value?: (UIBezierPath) | null): Promise<void>Swift declaration@NSCopying var shadowPath: UIBezierPath? { get set }get visiblePath(): Promise<(UIBezierPath) | null>Swift declaration@NSCopying var visiblePath: UIBezierPath? { get set }setVisiblePath(value?: (UIBezierPath) | null): Promise<void>Swift declaration@NSCopying var visiblePath: UIBezierPath? { get set }No declarations were skipped in this snapshot.