- From: Emanuel Allen <emanuelallen@hotmail.com>
- Date: Sun, 18 May 2014 01:52:28 -0400
- To: <whatwg@whatwg.org>
the tag element area have this: rect - rectangular hotspot you can define the size and placement of circle - circular hotspot that you can define the size and placement of poly - polygonal hotspot for creating many sided custom shapes I want to request that they add a least two things to the canvas; the poly(x location, y location, addSideSize, addSideSize, , etc...); this will allow for all geometrical figure with three or more sides, a polygon. Here a least of names for some polygons. A least up to icosagon; 20sides. 3 triangle, trigon 4 quadrilateral, tetragon 5 pentagon 6 hexagon 7 heptagon 8 octagon 9 nonagon, enneagon 10 decagon 11 hendecagon 12 dodecagon, duodecagon 13 triskaidecagon, tridecagon 14 tetrakaidecagon, tetradecagon 15 pentadecagon 16 hexadecagon 17 heptadecagon 18 octadecagon 19 enneadecagon 20 icosagon And a attribute for all corner to be rounded: rect.rou(x position, y position, width, height, angle degree); or better yet, to use a element that is already exists: ploy.arc(position x, position y, width, height, angle); When I think about it, should add two more at the end; degree for ploy poly(x location, y location, addSideSize, addSideSise, , etc...); poly.arc(x location, y location, addSideSize, addSideSize, arcDegree); how would this work? the last number will automatically to converted to an arc number for all angle, unless another number is added to the polygon, then it will be move back again, to that last number. I'mma learn PI, math.PI, I have already went over it, but I have head back to it, for to know how to utilize it for the canvas, I see that a lot of example use it for the arc, and etc. But I feel that, add this, will make it more easy for those who want to add different size shape without going into math. If you could send me the link to where I can request for this, my appreciation to you sir. ... and it wouldn't hurt to just add a circle: circ. circ(x, y, radius); Just to make things more easy, I mean, they have all these other tags that is so close to meaning the same thing, add these two plus attribute of the they have "arc" I feel would add to it. Plus just adding the ploy element, would add majority of the shape, even if they stop it at icosagon(20 side). That would be great. I was trying to make it as an utility function myself... but I need more knowledge... no I need more experience and knowledge.... I want to make this myself. I want to contribute it myself as a prototype instead of just posting this to be made. I don't want to give queries words, nor suggestions, but code... I'm still a novice... But not for long.
Received on Monday, 19 May 2014 05:59:53 UTC