Javascript method
|
Description
|
int getAppletHeight()
|
Returns the proper height parameter value for a MathMLViewerApplet rendering the equation at the current font point size. The applet height differs from the equation height because the applet pads the equation so that the baseline lies on the centerline of the applet.
|
int getAppletHeightAt(String ptsize)
|
Returns the proper height parameter value for a MathMLViewerApplet rendering the equation at the specified font point size.
|
String getBackgroundColor()
|
Returns the background color of the current equation, in the form of #rrggbb, #rgb, or a CSS color keyword, such as "blue".
|
void setBackgroundColor(String bgColor)
|
Sets the background color of the current equation.
|
int getPointSize()
|
Returns the base font point size for the current equation.
|
void setPointSize(int user_size)
|
Sets the base font point size for the current equation.
|
String getForegroundColor()
|
Returns the foreground color of the current equation, in the form of #rrggbb, #rgb, or a CSS color keyword, such as "blue".
|
void setForegroundColor(String fgColor)
|
Sets the foreground color of the current equation.
|
int getPreferredAscent()
|
Returns the preferred ascent above the baseline in pixels of the current equation.
|
int getPreferredAscentAt(String ptsize)
|
Returns the preferred ascent above the baseline in pixels of the current equation rendered at the specified font point size.
|
int getPreferredHeight()
|
Returns the preferred height in pixels of the current equation.
|
int getPreferredHeightAt(String ptsize)
|
Returns the preferred height in pixels of the current equation rendered at the specified font point size.
|
int getPreferredWidth()
|
Returns the preferred width in pixels of the current equation.
|
int getPreferredWidthAt(String ptsize)
|
Returns the preferred width in pixels of the current equation rendered at the specified font point size.
|
String getVersion()
|
Returns the MathFlow SDK version string for this editor applet.
|