blob: 7df4129c703918e7ebaa8d4dafd79c0916056830 [file] [log] [blame]
// Copyright 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
] interface DetectedBarcode {
// TODO(mcasas): Implement missing fields.
[SameObject] readonly attribute DOMString rawValue;
[SameObject] readonly attribute DOMRectReadOnly boundingBox;
// 4 corner points in clockwise direction starting with top-left. Due to
// possible perspective distortions, this is not necessarily a rectangle.
[SameObject, SaveSameObject] readonly attribute FrozenArray<Point2D> cornerPoints;
serializer = { attribute };