vgui/30-image-panel.js
/**
* Represents an ImagePanel element
*/
export class ImagePanel extends Panel {
constructor(id) {
super(id);
this._attrHandler["image"] = "string";
this._attrHandler["fillcolor"] = "string";
this._attrHandler["border"] = "string";
this._attrHandler["positionImage"] = "int";
this._attrHandler["scaleImage"] = "int";
this._attrHandler["scaleAmount"] = "float";
this._attrHandler["tileImage"] = "int";
this._attrHandler["tileHorizontally"] = "int";
this._attrHandler["tileVertically"] = "int";
}
/**
* @override
*/
toString() {
return "ImagePanel";
}
}