superscript - determine exponent or subscript by position via Y axis for a math equation in kineticjs -
Any person can help write a function in KineticJS to determine the state of math object. To wit. Determine if there is a number 2 squire index or just 2. Position of objects has been taken from X-axis (horizontal position with left to 0). Functions will then be written in order eg: [faa (???) (x)] [=] [2] [x] [2] then check the position through the y-axis. If a function is typically more or less then it is considered for an exponent (for top) or a subscript label (below). After this we are: [faa (???) (x)] [=] [2] [x] [? Square?] If a function is small, then it is to ask the user to confirm an exponent or subscript label and function [FAC (x)] [=] [2] [x] [squared] < / Div>
I suspect that many people want to take their time to do their work for you, It should not be very difficult to try. You will have to use the getAttr ('y') on the base number and then have to make the same call to the subscript and compare those two values. The function can return a boolean, which is an exponent and false, it's a subscript if it gets right? There are many different guides you can go with it.
Comments
Post a Comment