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 String
bottom
Bottom margin, accepts values labeled with units.String
left
Left margin, accepts values labeled with units.String
right
Right margin, accepts values labeled with units.String
top
Top 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 Margin
setBottom(String bottom)
Bottom margin, accepts values labeled with units.Margin
setLeft(String left)
Left margin, accepts values labeled with units.Margin
setRight(String right)
Right margin, accepts values labeled with units.Margin
setTop(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
.
-
-