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
decimalx-offset for the clickable point relative to the top-left corner of the border box.
y
decimaly-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
Y
y-offset for the clickable point relative to the top-left corner of the border box.
public decimal Y { readonly get; set; }