public static interface Landmark.Builder extends CopyableBuilder<Landmark.Builder,Landmark>
Modifier and Type | Method and Description |
---|---|
Landmark.Builder |
type(LandmarkType type)
Type of the landmark.
|
Landmark.Builder |
type(String type)
Type of the landmark.
|
Landmark.Builder |
x(Float x)
x-coordinate from the top left of the landmark expressed as the ratio of the width of the image.
|
Landmark.Builder |
y(Float y)
y-coordinate from the top left of the landmark expressed as the ratio of the height of the image.
|
copy
apply, build
Landmark.Builder type(String type)
Type of the landmark.
type
- Type of the landmark.LandmarkType
,
LandmarkType
Landmark.Builder type(LandmarkType type)
Type of the landmark.
type
- Type of the landmark.LandmarkType
,
LandmarkType
Landmark.Builder x(Float x)
x-coordinate from the top left of the landmark expressed as the ratio of the width of the image. For example, if the images is 700x200 and the x-coordinate of the landmark is at 350 pixels, this value is 0.5.
x
- x-coordinate from the top left of the landmark expressed as the ratio of the width of the image. For
example, if the images is 700x200 and the x-coordinate of the landmark is at 350 pixels, this value is
0.5.Landmark.Builder y(Float y)
y-coordinate from the top left of the landmark expressed as the ratio of the height of the image. For example, if the images is 700x200 and the y-coordinate of the landmark is at 100 pixels, this value is 0.5.
y
- y-coordinate from the top left of the landmark expressed as the ratio of the height of the image. For
example, if the images is 700x200 and the y-coordinate of the landmark is at 100 pixels, this value is
0.5.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.