class

Playwright::Page::ScreenshotOptions::Clip

Inherits JSON::Serializable / Reference / Object

Constructors

new(x : Int32, y : Int32, width : Int32, height : Int32)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

height

height of clipping area

Source
height=(height : Int32)

height of clipping area

Source
width

width of clipping area

Source
width=(width : Int32)

width of clipping area

Source
x

x-coordinate of top-left corner of clip area

Source
x=(x : Int32)

x-coordinate of top-left corner of clip area

Source
y

y-coordinate of top-left corner of clip area

Source
y=(y : Int32)

y-coordinate of top-left corner of clip area

Source