import { ItemProps } from "./ItemProps";
/**
* Class for light properties
* @extends {ItemProps}
*/
export class LightProps extends ItemProps {
/**
* Creates an instance of LightProps.
* @constructor
*/
constructor() {
super();
this.z = 0;
}
/**
* <pre>
* Set/Get width
* - In the case of lights, the height value is the same as the width value
* </pre>
* @type {number}
*/
get width() {
return this.$width;
}
set width(v) {
if (this.$width !== v) {
this.$width = this.$height = v;
++this.$scaleUpdateId;
}
}
/**
* Set/Get height
* @type {number}
*/
get height() {
return this.$height;
}
set height(v) {}
}