Table of Contents

Struct Offset

Namespace
PuppeteerSharp
Assembly
PuppeteerSharp.dll

Offset used in conjunction with ClickablePointAsync(Offset?).

public struct Offset

Constructors

Offset(decimal, decimal)

Initializes a new instance of the Offset struct.

public Offset(decimal x, decimal y)

Parameters

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.

Properties

X

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

public decimal X { readonly get; set; }

Property Value

decimal

Y

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

public decimal Y { readonly get; set; }

Property Value

decimal