public static interface SectionBasedLayoutPaperCanvasSizeOptions.Builder extends SdkPojo, CopyableBuilder<SectionBasedLayoutPaperCanvasSizeOptions.Builder,SectionBasedLayoutPaperCanvasSizeOptions>
Modifier and Type | Method and Description |
---|---|
default SectionBasedLayoutPaperCanvasSizeOptions.Builder |
paperMargin(Consumer<Spacing.Builder> paperMargin)
Defines the spacing between the canvas content and the top, bottom, left, and right edges.
|
SectionBasedLayoutPaperCanvasSizeOptions.Builder |
paperMargin(Spacing paperMargin)
Defines the spacing between the canvas content and the top, bottom, left, and right edges.
|
SectionBasedLayoutPaperCanvasSizeOptions.Builder |
paperOrientation(PaperOrientation paperOrientation)
The paper orientation that is used to define canvas dimensions.
|
SectionBasedLayoutPaperCanvasSizeOptions.Builder |
paperOrientation(String paperOrientation)
The paper orientation that is used to define canvas dimensions.
|
SectionBasedLayoutPaperCanvasSizeOptions.Builder |
paperSize(PaperSize paperSize)
The paper size that is used to define canvas dimensions.
|
SectionBasedLayoutPaperCanvasSizeOptions.Builder |
paperSize(String paperSize)
The paper size that is used to define canvas dimensions.
|
equalsBySdkFields, sdkFields
copy
applyMutation, build
SectionBasedLayoutPaperCanvasSizeOptions.Builder paperSize(String paperSize)
The paper size that is used to define canvas dimensions.
SectionBasedLayoutPaperCanvasSizeOptions.Builder paperSize(PaperSize paperSize)
The paper size that is used to define canvas dimensions.
SectionBasedLayoutPaperCanvasSizeOptions.Builder paperOrientation(String paperOrientation)
The paper orientation that is used to define canvas dimensions. Choose one of the following options:
PORTRAIT
LANDSCAPE
paperOrientation
- The paper orientation that is used to define canvas dimensions. Choose one of the following
options:
PORTRAIT
LANDSCAPE
PaperOrientation
,
PaperOrientation
SectionBasedLayoutPaperCanvasSizeOptions.Builder paperOrientation(PaperOrientation paperOrientation)
The paper orientation that is used to define canvas dimensions. Choose one of the following options:
PORTRAIT
LANDSCAPE
paperOrientation
- The paper orientation that is used to define canvas dimensions. Choose one of the following
options:
PORTRAIT
LANDSCAPE
PaperOrientation
,
PaperOrientation
SectionBasedLayoutPaperCanvasSizeOptions.Builder paperMargin(Spacing paperMargin)
Defines the spacing between the canvas content and the top, bottom, left, and right edges.
paperMargin
- Defines the spacing between the canvas content and the top, bottom, left, and right edges.default SectionBasedLayoutPaperCanvasSizeOptions.Builder paperMargin(Consumer<Spacing.Builder> paperMargin)
Defines the spacing between the canvas content and the top, bottom, left, and right edges.
This is a convenience method that creates an instance of theSpacing.Builder
avoiding the need to
create one manually via Spacing.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its result is
passed to paperMargin(Spacing)
.
paperMargin
- a consumer that will call methods on Spacing.Builder
paperMargin(Spacing)
Copyright © 2023. All rights reserved.