public static class PageAreaProperties.Builder extends Object
| Constructor and Description |
|---|
Builder(String collectionId,
int maxHeight)
Creates a new instance with the specified parameters
|
| Modifier and Type | Method and Description |
|---|---|
PageAreaProperties.Builder |
addFallback(FallbackRule rule)
Adds a fallback rule.
|
PageAreaProperties.Builder |
align(PageAreaProperties.Alignment value)
Sets the alignment of the page area on the page.
|
PageAreaProperties |
build()
Creates a new page area properties object
|
public Builder(String collectionId, int maxHeight)
collectionId - an identifier of the collection used
for this page areamaxHeight - the maximum height of this page areapublic PageAreaProperties.Builder align(PageAreaProperties.Alignment value)
value - the alignmentpublic PageAreaProperties.Builder addFallback(FallbackRule rule)
rule - the rulepublic PageAreaProperties build()