const PhSim = require("../index"); /** * Widget that sets the {@link PhSim.DynObject#rectTextWidget} as true. * @function * @param {PhSim.DynObject} dyn_object */ PhSim.Widgets.rectText = function(dyn_object) { /** * * RectText widget enabler. * * @type {Boolean} * @memberof PhSim.DynObject */ dyn_object.rectTextWidget === true; }