class Playwright::Page::PdfOptions::Margin
   
  - Playwright::Page::PdfOptions::Margin
 - Reference
 - Object
 
Included Modules
- JSON::Serializable
 
Defined in:
playwright/page.crConstructors
- .new(pull : JSON::PullParser)
 - .new(top : Nil | String = nil, right : Nil | String = nil, bottom : Nil | String = nil, left : Nil | String = nil)
 
Instance Method Summary
- 
        #bottom : String | Nil
        
          
Bottom margin, accepts values labeled with units.
 - 
        #bottom=(bottom : String | Nil)
        
          
Bottom margin, accepts values labeled with units.
 - 
        #left : String | Nil
        
          
Left margin, accepts values labeled with units.
 - 
        #left=(left : String | Nil)
        
          
Left margin, accepts values labeled with units.
 - 
        #right : String | Nil
        
          
Right margin, accepts values labeled with units.
 - 
        #right=(right : String | Nil)
        
          
Right margin, accepts values labeled with units.
 - 
        #top : String | Nil
        
          
Top margin, accepts values labeled with units.
 - 
        #top=(top : String | Nil)
        
          
Top margin, accepts values labeled with units.
 
Constructor Detail
        
        def self.new(top : Nil | String = nil, right : Nil | String = nil, bottom : Nil | String = nil, left : Nil | String = nil)
        #
      
      
      Instance Method Detail
        
        def bottom=(bottom : String | Nil)
        #
      
      
        Bottom margin, accepts values labeled with units. Defaults to 0.