return this.textAlign; switch ( this.getTextAlign() ) { case "left" : this.setX( 0 ); break; case "center" : this.setX( this.parent.width / 2 - this.getTextWidth() / 2 ); break; case "right" : this.setX( this.parent.width - this.getTextWidth() ); break; } = 48 && c <= 57 || c >= 65 && c <= 90 || c >= 97 && c <= 122 ); ]]> = 224 && c <= 250 ); ]]> this.setAttribute('text', reverseWords( rtl_str ) ); setTextAlign();