Initial
This commit is contained in:
22
resources/app/node_modules/@pixi/graphics/lib/styles/FillStyle.js
generated
vendored
Normal file
22
resources/app/node_modules/@pixi/graphics/lib/styles/FillStyle.js
generated
vendored
Normal file
@@ -0,0 +1,22 @@
|
||||
"use strict";
|
||||
var core = require("@pixi/core");
|
||||
class FillStyle {
|
||||
constructor() {
|
||||
this.color = 16777215, this.alpha = 1, this.texture = core.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 = core.Texture.WHITE, this.matrix = null, this.visible = !1;
|
||||
}
|
||||
/** Destroy and don't use after this. */
|
||||
destroy() {
|
||||
this.texture = null, this.matrix = null;
|
||||
}
|
||||
}
|
||||
exports.FillStyle = FillStyle;
|
||||
//# sourceMappingURL=FillStyle.js.map
|
||||
Reference in New Issue
Block a user