// chrome/browser/lens/core/mojom/geometry.mojom-webui.ts is auto generated by mojom_bindings_generator.py, do not edit
// Copyright 2020 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import { mojo } from '//resources/mojo/mojo/public/js/bindings.js';
import { PolygonSpec as lens_mojom_PolygonSpec } from './polygon.mojom-webui.js';
import { RectFSpec as gfx_mojom_RectFSpec } from '//resources/mojo/ui/gfx/geometry/mojom/geometry.mojom-webui.js';
export const CenterRotatedBoxSpec = { $: {} };
export const GeometrySpec = { $: {} };
export const CenterRotatedBox_CoordinateTypeSpec = { $: mojo.internal.Enum() };
export var CenterRotatedBox_CoordinateType;
(function (CenterRotatedBox_CoordinateType) {
    CenterRotatedBox_CoordinateType[CenterRotatedBox_CoordinateType["MIN_VALUE"] = 0] = "MIN_VALUE";
    CenterRotatedBox_CoordinateType[CenterRotatedBox_CoordinateType["MAX_VALUE"] = 2] = "MAX_VALUE";
    CenterRotatedBox_CoordinateType[CenterRotatedBox_CoordinateType["kUnspecified"] = 0] = "kUnspecified";
    CenterRotatedBox_CoordinateType[CenterRotatedBox_CoordinateType["kNormalized"] = 1] = "kNormalized";
    CenterRotatedBox_CoordinateType[CenterRotatedBox_CoordinateType["kImage"] = 2] = "kImage";
})(CenterRotatedBox_CoordinateType || (CenterRotatedBox_CoordinateType = {}));
mojo.internal.Struct(CenterRotatedBoxSpec.$, 'CenterRotatedBox', [
    mojo.internal.StructField('box', 0, 0, gfx_mojom_RectFSpec.$, null, false /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('rotation', 8, 0, mojo.internal.Float, 0, false /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('coordinateType', 12, 0, CenterRotatedBox_CoordinateTypeSpec.$, 0, false /* nullable */, 0, undefined, undefined),
], [[0, 24],]);
mojo.internal.Struct(GeometrySpec.$, 'Geometry', [
    mojo.internal.StructField('boundingBox', 0, 0, CenterRotatedBoxSpec.$, null, false /* nullable */, 0, undefined, undefined),
    mojo.internal.StructField('segmentationPolygon', 8, 0, mojo.internal.Array(lens_mojom_PolygonSpec.$, false), null, false /* nullable */, 0, undefined, undefined),
], [[0, 24],]);
