Package com.microsoft.playwright.options
Class Margin
- java.lang.Object
-
- com.microsoft.playwright.options.Margin
-
public class Margin extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description java.lang.StringbottomBottom margin, accepts values labeled with units.java.lang.StringleftLeft margin, accepts values labeled with units.java.lang.StringrightRight margin, accepts values labeled with units.java.lang.StringtopTop margin, accepts values labeled with units.
-
Constructor Summary
Constructors Constructor Description Margin()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MarginsetBottom(java.lang.String bottom)Bottom margin, accepts values labeled with units.MarginsetLeft(java.lang.String left)Left margin, accepts values labeled with units.MarginsetRight(java.lang.String right)Right margin, accepts values labeled with units.MarginsetTop(java.lang.String top)Top margin, accepts values labeled with units.
-
-
-
Field Detail
-
top
public java.lang.String top
Top margin, accepts values labeled with units. Defaults to0.
-
right
public java.lang.String right
Right margin, accepts values labeled with units. Defaults to0.
-
bottom
public java.lang.String bottom
Bottom margin, accepts values labeled with units. Defaults to0.
-
left
public java.lang.String left
Left margin, accepts values labeled with units. Defaults to0.
-
-
Method Detail
-
setTop
public Margin setTop(java.lang.String top)
Top margin, accepts values labeled with units. Defaults to0.
-
setRight
public Margin setRight(java.lang.String right)
Right margin, accepts values labeled with units. Defaults to0.
-
setBottom
public Margin setBottom(java.lang.String bottom)
Bottom margin, accepts values labeled with units. Defaults to0.
-
setLeft
public Margin setLeft(java.lang.String left)
Left margin, accepts values labeled with units. Defaults to0.
-
-