pointdraw
Meta Data
| filepath_exists | True |
| path | pointdraw |
| filepath | pointdraw.js |
| clean_files | () |
-
ClassDeclarationclass
PointDraw
extends Noneclass comments:Draw functions for the Point.draw-
dict_keys(['kind', 'word', 'static', 'computed', 'is_symbol', 'value', 'type', 'comments', 'pos'])Two hair() calls in a cross formation. With a squeeze factor, 0 for no change (cross) and 1 for full change (two lines drawn upon each other)
-
dict_keys(['kind', 'word', 'static', 'computed', 'is_symbol', 'value', 'type', 'comments', 'pos'])Draw a standard `roundRect` using this point as the top left `{x,y}` The default _width_ and _height_ is the _radus_ of the point, drawing a round rect to the size of the point. // ctx.roundRect(400, 150, 120, 120, [0, 30, 50, 60]); // point.draw.roundRect(width, height, radii) let point = new Point(400, 150, 120) point.draw.roundRect(ctx) Expanded: point.draw.roundRect(ctx, point.radius, point.radius, [10, 30, 50, 60])
ExpressionStatement:
dict_keys(['type', 'expression', 'pos'])ExpressionStatement:
dict_keys(['type', 'expression', 'pos'])