{"version":3,"file":"BoundingBoxAttachment.mjs","sources":["../../../src/core/attachments/BoundingBoxAttachment.ts"],"sourcesContent":["import { Attachment, VertexAttachment } from './Attachment';\nimport { AttachmentType, Color } from '@pixi-spine/base';\n\n/**\n * @public\n */\nexport class BoundingBoxAttachment extends VertexAttachment {\n    type = AttachmentType.BoundingBox;\n    color = new Color(1, 1, 1, 1);\n\n    constructor(name: string) {\n        super(name);\n    }\n\n    copy(): Attachment {\n        const copy = new BoundingBoxAttachment(this.name);\n\n        this.copyTo(copy);\n        copy.color.setFromColor(this.color);\n\n        return copy;\n    }\n}\n"],"names":[],"mappings":";;;AAMO,MAAM,8BAA8B,gBAAiB,CAAA;AAAA,EAIxD,YAAY,IAAc,EAAA;AACtB,IAAA,KAAA,CAAM,IAAI,CAAA,CAAA;AAJd,IAAA,IAAA,CAAA,IAAA,GAAO,cAAe,CAAA,WAAA,CAAA;AACtB,IAAA,IAAA,CAAA,KAAA,GAAQ,IAAI,KAAA,CAAM,CAAG,EAAA,CAAA,EAAG,GAAG,CAAC,CAAA,CAAA;AAAA,GAI5B;AAAA,EAEA,IAAmB,GAAA;AACf,IAAA,MAAM,IAAO,GAAA,IAAI,qBAAsB,CAAA,IAAA,CAAK,IAAI,CAAA,CAAA;AAEhD,IAAA,IAAA,CAAK,OAAO,IAAI,CAAA,CAAA;AAChB,IAAK,IAAA,CAAA,KAAA,CAAM,YAAa,CAAA,IAAA,CAAK,KAAK,CAAA,CAAA;AAElC,IAAO,OAAA,IAAA,CAAA;AAAA,GACX;AACJ;;;;"}