Package com.microsoft.playwright.options
Class Margin
- java.lang.Object
-
- com.microsoft.playwright.options.Margin
-
public class Margin extends Object
-
-
Field Summary
Fields Modifier and Type Field Description StringbottomBottom margin, accepts values labeled with units.StringleftLeft margin, accepts values labeled with units.StringrightRight margin, accepts values labeled with units.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(String bottom)Bottom margin, accepts values labeled with units.MarginsetLeft(String left)Left margin, accepts values labeled with units.MarginsetRight(String right)Right margin, accepts values labeled with units.MarginsetTop(String top)Top margin, accepts values labeled with units.
-
-
-
Field Detail
-
top
public String top
Top margin, accepts values labeled with units. Defaults to0.
-
right
public String right
Right margin, accepts values labeled with units. Defaults to0.
-
bottom
public String bottom
Bottom margin, accepts values labeled with units. Defaults to0.
-
left
public String left
Left margin, accepts values labeled with units. Defaults to0.
-
-
Method Detail
-
setTop
public Margin setTop(String top)
Top margin, accepts values labeled with units. Defaults to0.
-
setRight
public Margin setRight(String right)
Right margin, accepts values labeled with units. Defaults to0.
-
setBottom
public Margin setBottom(String bottom)
Bottom margin, accepts values labeled with units. Defaults to0.
-
-