One Logo Pool Ball
WebKit · IOS API REFERENCE

WebPage.ExportedContentConfiguration.Region

struct · iOS 26.0+ · SDK 27.1

struct Region

Represents a specific semantic region of a webpage.

Members (2)

static · iOS 26.0+

rect

TypeScript
static rect(rect: { x: number; y: number; width: number; height: number }): Promise<WebPage_ExportedContentConfiguration_Region>
Swift declaration
static func rect(_ rect: CGRect) -> WebPage.ExportedContentConfiguration.Region

A region that corresponds to a rectangle in the page's coordinate system. - Parameter rect: The rectangle to use for the region. - Returns: A ``Region`` that uses the specified rectangle.

get · iOS 26.0+

contents

TypeScript
static get contents(): Promise<WebPage_ExportedContentConfiguration_Region>
Swift declaration
static var contents: WebPage.ExportedContentConfiguration.Region { get }

The entire region of the webpage.

Skipped declarations

No declarations were skipped in this snapshot.

All WebKit types →