rect(_:)
A region that corresponds to a rectangle in the page’s coordinate system.
Declaration
static func rect(_ rect: CGRect) -> WebPage.ExportedContentConfiguration.RegionParameters
- rect:
The rectangle to use for the region.
Return Value
A WebPage.ExportedContentConfiguration.Region that uses the specified rectangle.