One of the routines, for example, to draw a circle, is like this:
circle = this.paper.circle(this.cx, this.cy, sRadius);
this.paper.root.appendChild( circle );
Other, for a line, is like this:
var universe = this.universe;
var wrapper = astrology.utils.getEmptyWrapper( universe, astro._paperElementId + "-" + astro.ID_RADIX + "-" + astro.ID_AXIS);
overlapLine = this.paper.line( startPosition.x, startPosition.y, endPosition.x, endPosition.y);
wrapper.appendChild( overlapLine );
I want to append some lines of text (with a specific position, font, and size), but I honestly don't know how to code it - I do it easely in a 2d canvas, but I am not good at mastering tags like circle, setAttribute or appendChild. paper is the id - I think - of the canvas. When I try to integrate the text using the wrapper I get all types of errors.
Can someone help me out?
Thank you in advance.