Class Clip

java.lang.Object
com.microsoft.playwright.options.Clip

public class Clip extends Object
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    double
    height of clipping area
    double
    width of clipping area
    double
    x-coordinate of top-left corner of clip area
    double
    y-coordinate of top-left corner of clip area
  • Constructor Summary

    Constructors
    Constructor
    Description
    Clip(double x, double y, double width, double height)
     
  • Method Summary

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • x

      public double x
      x-coordinate of top-left corner of clip area
    • y

      public double y
      y-coordinate of top-left corner of clip area
    • width

      public double width
      width of clipping area
    • height

      public double height
      height of clipping area
  • Constructor Details

    • Clip

      public Clip(double x, double y, double width, double height)