/**
 * @license
 * Copyright 2022-2026 Matter.js Authors
 * SPDX-License-Identifier: Apache-2.0
 */
import { MatterDefinition } from "../MatterDefinition.js";
import { DatatypeElement as Datatype, FieldElement as Field } from "../../elements/index.js";
const ViewportStruct = Datatype(
  { name: "ViewportStruct", type: "struct" },
  Field({ name: "X1", id: 0, type: "uint16", conformance: "M" }),
  Field({ name: "Y1", id: 1, type: "uint16", conformance: "M" }),
  Field({ name: "X2", id: 2, type: "uint16", conformance: "M" }),
  Field({ name: "Y2", id: 3, type: "uint16", conformance: "M" })
);
MatterDefinition.children.push(ViewportStruct);
export {
  ViewportStruct
};
//# sourceMappingURL=viewport-struct.element.js.map
