function NumberBox(parent)
{
	Component.call(this, parent, "input");

	/**
	 * Indicates if the number box is storing a angle value.
	 *
	 * If the value is an angle is has to be converted to editor coordinates.
	 *
	 * @attribute isAngle
	 * @type {boolean}
	 */
	this.isAngle = false;

	this.element.type = "number";
	this.element.step = "0.1";
	this.element.style.backgroundColor = "var(--box-color)";
	this.element.style.color = "var(--color-light)";
	this.element.style.outline = "none";
	this.element.style.borderStyle = "none";
	this.element.style.boxSizing = "border-box";
	this.element.style.textIndent = "4px";
	this.element.style.borderRadius = "4px";
	this.element.style.boxShadow = "none";
	this.element.style.MozAppearance = "textfield";
	this.element.style.webkitAppearance = "caret";
	this.element.style.appearance = "textfield";
}
Number input element.

@class NumberBox
@extends {Component}
@param {Component} parent Parent element.