public static interface GradientColor.Builder extends SdkPojo, CopyableBuilder<GradientColor.Builder,GradientColor>
| Modifier and Type | Method and Description |
|---|---|
GradientColor.Builder |
stops(Collection<GradientStop> stops)
The list of gradient color stops.
|
GradientColor.Builder |
stops(Consumer<GradientStop.Builder>... stops)
The list of gradient color stops.
|
GradientColor.Builder |
stops(GradientStop... stops)
The list of gradient color stops.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildGradientColor.Builder stops(Collection<GradientStop> stops)
The list of gradient color stops.
stops - The list of gradient color stops.GradientColor.Builder stops(GradientStop... stops)
The list of gradient color stops.
stops - The list of gradient color stops.GradientColor.Builder stops(Consumer<GradientStop.Builder>... stops)
The list of gradient color stops.
This is a convenience method that creates an instance of theGradientStop.Builder avoiding the need to create one
manually via GradientStop.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately
and its result is passed to #stops(List.
stops - a consumer that will call methods on
GradientStop.Builder#stops(java.util.Collection) Copyright © 2023. All rights reserved.