Skip to content

Zoom

Namespace: E2E.Decision

public sealed record Zoom : IEquatable<Zoom>

A zoomed crop: the image, and where its top-left corner sits in the screenshot’s CSS pixels (upstream’s Zoom).

Inheritance: object

Implements: IEquatable<Zoom>

View source

public Zoom(Screenshot Screenshot, Point Origin, double Factor)

A zoomed crop: the image, and where its top-left corner sits in the screenshot’s CSS pixels (upstream’s Zoom).

Parameters

Name Type Description
Screenshot Screenshot
Origin Point
Factor double

public double Factor { get; init; }

Value: double

public Point Origin { get; init; }

Value: Point

public Screenshot Screenshot { get; init; }

Value: Screenshot