Skip to content

Offset

Namespace: PuppeteerSharp

public struct Offset

Offset used in conjunction with Offset%7d).

View source

public Offset(decimal x, decimal y)

Initializes a new instance of the Offset struct.

Parameters

Name Type Description
x decimal x-offset for the clickable point relative to the top-left corner of the border box.
y decimal y-offset for the clickable point relative to the top-left corner of the border box.

View source

public decimal X { readonly get; set; }

x-offset for the clickable point relative to the top-left corner of the border box.

Value: decimal

View source

public decimal Y { readonly get; set; }

y-offset for the clickable point relative to the top-left corner of the border box.

Value: decimal

View source

Made with love by Dario Kondratiuk