class Playwright::Page::ScreenshotOptions::Clip

Included Modules

Defined in:

playwright/page.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(x : Int32, y : Int32, width : Int32, height : Int32) #

[View source]
def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def height : Int32 #

height of clipping area


[View source]
def height=(height : Int32) #

height of clipping area


[View source]
def width : Int32 #

width of clipping area


[View source]
def width=(width : Int32) #

width of clipping area


[View source]
def x : Int32 #

x-coordinate of top-left corner of clip area


[View source]
def x=(x : Int32) #

x-coordinate of top-left corner of clip area


[View source]
def y : Int32 #

y-coordinate of top-left corner of clip area


[View source]
def y=(y : Int32) #

y-coordinate of top-left corner of clip area


[View source]