Package com.microsoft.playwright.options
Class Margin
java.lang.Object
com.microsoft.playwright.options.Margin
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionBottom margin, accepts values labeled with units.Left margin, accepts values labeled with units.Right margin, accepts values labeled with units.Top margin, accepts values labeled with units.
-
Field Details
-
top
Top margin, accepts values labeled with units. Defaults to0. -
right
Right margin, accepts values labeled with units. Defaults to0. -
bottom
Bottom margin, accepts values labeled with units. Defaults to0. -
left
Left margin, accepts values labeled with units. Defaults to0.
-
-
Constructor Details
-
Margin
public Margin()
-
-
Method Details
-
setTop
Top margin, accepts values labeled with units. Defaults to0. -
setRight
Right margin, accepts values labeled with units. Defaults to0. -
setBottom
Bottom margin, accepts values labeled with units. Defaults to0. -
setLeft
Left margin, accepts values labeled with units. Defaults to0.
-