class Playwright::Page::PdfOptions::Margin

Included Modules

Defined in:

playwright/page.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]
def self.new(top : Nil | String = nil, right : Nil | String = nil, bottom : Nil | String = nil, left : Nil | String = nil) #

[View source]

Instance Method Detail

def bottom : String | Nil #

Bottom margin, accepts values labeled with units. Defaults to 0.


[View source]
def bottom=(bottom : String | Nil) #

Bottom margin, accepts values labeled with units. Defaults to 0.


[View source]
def left : String | Nil #

Left margin, accepts values labeled with units. Defaults to 0.


[View source]
def left=(left : String | Nil) #

Left margin, accepts values labeled with units. Defaults to 0.


[View source]
def right : String | Nil #

Right margin, accepts values labeled with units. Defaults to 0.


[View source]
def right=(right : String | Nil) #

Right margin, accepts values labeled with units. Defaults to 0.


[View source]
def top : String | Nil #

Top margin, accepts values labeled with units. Defaults to 0.


[View source]
def top=(top : String | Nil) #

Top margin, accepts values labeled with units. Defaults to 0.


[View source]