Class BoundingPolygon.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • normalizedVertices

        public BoundingPolygon.Builder normalizedVertices​(List<NormalizedVertex> normalizedVertices)
        An array of normalized points defining the polygon’s perimeter, with an implicit segment between subsequent points and between the first and last point.

        Rectangles are defined with four points. For example, [{“x”: 0, “y”: 0}, {“x”: 1, “y”: 0}, {“x”: 1, “y”: 0.5}, {“x”: 0, “y”: 0.5}] represents the top half of an image.

        Parameters:
        normalizedVertices - the value to set
        Returns:
        this builder