Options
All
  • Public
  • Public/Protected
  • All
Menu

Namespace BoundingPolygon

The object-bounding polygon box.

Properties

normalizedVertices

normalizedVertices: Array<NormalizedVertex>

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, {@code [{"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.

Functions

getDeserializedJsonObj

getJsonObj