public static interface Landmark.Builder extends SdkPojo, CopyableBuilder<Landmark.Builder,Landmark>
| Modifier and Type | Method and Description |
|---|---|
Landmark.Builder |
type(LandmarkType type)
Type of landmark.
|
Landmark.Builder |
type(String type)
Type of landmark.
|
Landmark.Builder |
x(Float x)
The x-coordinate of the landmark expressed as a ratio of the width of the image.
|
Landmark.Builder |
y(Float y)
The y-coordinate of the landmark expressed as a ratio of the height of the image.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildLandmark.Builder type(String type)
Type of landmark.
type - Type of landmark.LandmarkType,
LandmarkTypeLandmark.Builder type(LandmarkType type)
Type of landmark.
type - Type of landmark.LandmarkType,
LandmarkTypeLandmark.Builder x(Float x)
The x-coordinate of the landmark expressed as a ratio of the width of the image. The x-coordinate is measured from the left-side of the image. For example, if the image is 700 pixels wide and the x-coordinate of the landmark is at 350 pixels, this value is 0.5.
x - The x-coordinate of the landmark expressed as a ratio of the width of the image. The x-coordinate is
measured from the left-side of the image. For example, if the image is 700 pixels wide and the
x-coordinate of the landmark is at 350 pixels, this value is 0.5.Landmark.Builder y(Float y)
The y-coordinate of the landmark expressed as a ratio of the height of the image. The y-coordinate is measured from the top of the image. For example, if the image height is 200 pixels and the y-coordinate of the landmark is at 50 pixels, this value is 0.25.
y - The y-coordinate of the landmark expressed as a ratio of the height of the image. The y-coordinate is
measured from the top of the image. For example, if the image height is 200 pixels and the
y-coordinate of the landmark is at 50 pixels, this value is 0.25.Copyright © 2023. All rights reserved.