@@ -83,13 +83,11 @@ function isArrayProto(proto) {
8383 return proto . length == 14 ? 1 : 2 ;
8484}
8585
86- /** @summary Specialized JSROOT constants, used in {@link settings}
87- * @namespace
88- * @private */
86+ /** @desc Specialized JSROOT constants, used in {@link settings}
87+ * @namespace */
8988let constants = {
9089 /** @summary Kind of 3D rendering, used for {@link settings.Render3D}
91- * @namespace
92- * @private */
90+ * @namespace */
9391 Render3D : {
9492 /** @summary Default 3D rendering, normally WebGL, if not supported - SVG */
9593 Default : 0 ,
@@ -107,29 +105,27 @@ let constants = {
107105 }
108106 } ,
109107 /** @summary Way to embed 3D into SVG, used for {@link settings.Embed3D}
110- * @namespace
111- * @private */
108+ * @namespace */
112109 Embed3D : {
113110 /** @summary Do not embed 3D drawing, use complete space */
114111 NoEmbed : - 1 ,
115- /** @summary Default embeding mode, on Firefox is really ```Embed```, on all other ```Overlay``` */
112+ /** @summary Default embeding mode - on Firefox and latest Chrome is real ```Embed```, on all other ```Overlay``` */
116113 Default : 0 ,
117- /** @summary WebGL canvas not inserted into SVG, but just overlayed The only way how Chrome browser can be used */
114+ /** @summary WebGL canvas not inserted into SVG, but just overlayed The only way how earlier Chrome browser can be used */
118115 Overlay : 1 ,
119- /** @summary Really embed WebGL Canvas into SVG, only works with Firefox */
116+ /** @summary Really embed WebGL Canvas into SVG */
120117 Embed : 2 ,
121- /** @summary Embeding, but when SVG rendering or SVG image converion is used
122- * @private */
118+ /** @summary Embeding, but when SVG rendering or SVG image converion is used */
123119 EmbedSVG : 3 ,
120+ /** @summary Convert string values into number */
124121 fromString : function ( s ) {
125122 if ( s === "embed" ) return this . Embed ;
126123 if ( s === "overlay" ) return this . Overlay ;
127124 return this . Default ;
128125 }
129126 } ,
130127 /** @summary How to use latex in text drawing, used for {@link settings.Latex}
131- * @namespace
132- * @private */
128+ * @namespace */
133129 Latex : {
134130 /** @summary do not use Latex at all for text drawing */
135131 Off : 0 ,
@@ -141,6 +137,7 @@ let constants = {
141137 MathJax : 3 ,
142138 /** @summary always use MathJax for text rendering */
143139 AlwaysMathJax : 4 ,
140+ /** @summary Convert string values into number */
144141 fromString : function ( s ) {
145142 if ( ! s || ( typeof s !== 'string' ) )
146143 return this . Normal ;
@@ -164,12 +161,12 @@ let constants = {
164161 }
165162} ;
166163
167- /** @summary Central JSROOT settings, independent from { @link gStyle}
164+ /** @desc Global JSROOT settings
168165 * @namespace */
169166let settings = {
170167 /** @summary Render of 3D drawing methods, see {@link constants.Render3D} for possible values */
171168 Render3D : constants . Render3D . Default ,
172- /** @summary Render of 3D drawing methods in batch mode, see {@link constants.Render3D} for possible values */
169+ /** @summary 3D drawing methods in batch mode, see {@link constants.Render3D} for possible values */
173170 Render3DBatch : constants . Render3D . Default ,
174171 /** @summary Way to embed 3D drawing in SVG, see {@link constants.Embed3D} for possible values */
175172 Embed3D : constants . Embed3D . Default ,
0 commit comments