public static class Dimensions.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
Dimensions |
build() |
Dimensions.Builder |
copy(Dimensions model) |
Dimensions.Builder |
height(Double height)
The height of a page.
|
Dimensions.Builder |
unit(Dimensions.Unit unit)
The unit of length.
|
Dimensions.Builder |
width(Double width)
the width of a page.
|
public Dimensions.Builder width(Double width)
the width of a page.
width
- the value to setpublic Dimensions.Builder height(Double height)
The height of a page.
height
- the value to setpublic Dimensions.Builder unit(Dimensions.Unit unit)
The unit of length.
unit
- the value to setpublic Dimensions build()
public Dimensions.Builder copy(Dimensions model)
Copyright © 2016–2024. All rights reserved.