This commit is contained in:
2025-01-04 00:34:03 +01:00
parent 41829408dc
commit 0ca14bbc19
18111 changed files with 1871397 additions and 0 deletions

View File

@@ -0,0 +1,23 @@
import { Texture } from "@pixi/core";
class FillStyle {
constructor() {
this.color = 16777215, this.alpha = 1, this.texture = Texture.WHITE, this.matrix = null, this.visible = !1, this.reset();
}
/** Clones the object */
clone() {
const obj = new FillStyle();
return obj.color = this.color, obj.alpha = this.alpha, obj.texture = this.texture, obj.matrix = this.matrix, obj.visible = this.visible, obj;
}
/** Reset */
reset() {
this.color = 16777215, this.alpha = 1, this.texture = Texture.WHITE, this.matrix = null, this.visible = !1;
}
/** Destroy and don't use after this. */
destroy() {
this.texture = null, this.matrix = null;
}
}
export {
FillStyle
};
//# sourceMappingURL=FillStyle.mjs.map