Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.simular.ai/llms.txt

Use this file to discover all available pages before exploring further.

Class: ScreenshotCoordinateType

Defined in: index.d.ts:946 Describes how (x, y) coordinates passed to Screenshot.toGlobalPhysicalPixels should be interpreted.

Constructors

Constructor

new ScreenshotCoordinateType(): ScreenshotCoordinateType

Returns

ScreenshotCoordinateType

Methods

absolute()

static absolute(): ScreenshotCoordinateType
Defined in: index.d.ts:951 Coordinates are in screenshot image pixels (valid range: 0..=image_width-1).

Returns

ScreenshotCoordinateType

normalized()

static normalized(range): ScreenshotCoordinateType
Defined in: index.d.ts:958 Coordinates are normalized to a fixed range. Many VLMs (Qwen-VL, UI-TARS, etc.) output grounding coordinates in [0, range] rather than in pixel space. range specifies the inclusive upper bound (e.g. 1000, meaning valid coordinates are 0..=1000).

Parameters

range
number

Returns

ScreenshotCoordinateType