Class Index | File Index

Classes


Class constructorTextRect

represents text in rectangular frame
Defined in: raphaelsm.src.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
constructorTextRect(raphael, x, z, width, height, str, fontSize)
Text in rectangular frame
Field Summary
Field Attributes Field Name and Description
 
font size
 
height of rectangle
 
raphael rect object TextRect = function(raphael,x,z,width,height,str,fontSize) { /** Constructor, see TextRect for parameters description
 
str
text to display
 
raphael text object
 
width of rectangle
 
x
x coordinate of top left corner
 
z
z coordinate of top left corner
Class Detail
constructorTextRect(raphael, x, z, width, height, str, fontSize)
Text in rectangular frame
Parameters:
{Raphael} raphael
rapheal instance
{float} x Optional, Default: 100.
x coordinate of left lower corner [pixel]
{float} z Optional, Default: 100.
z coordinate of left lower corner [pixel]
{float} width Optional, Default: 100.
width [pixel]
{float} height Optional, Default: 100.
height [pixel]
{string} str Optional, Default: "string"
string to be shown
{float} fontSize Optional, Default: 20.
font size
Field Detail
{float} fontSize
font size

{float} height
height of rectangle

{Raphael.rect} rect
raphael rect object TextRect = function(raphael,x,z,width,height,str,fontSize) { /** Constructor, see TextRect for parameters description

{string} str
text to display

{Raphael.text} text
raphael text object

{float} width
width of rectangle

{float} x
x coordinate of top left corner

{float} z
z coordinate of top left corner

Documentation generated by JsDoc Toolkit 2.4.0 on Fri Jun 24 2011 21:09:02 GMT+0200 (CEST)