mirror of
https://github.com/Pomax/BezierInfo-2.git
synced 2025-09-25 23:59:02 +02:00
axes fix + components section
This commit is contained in:
@@ -452,9 +452,9 @@ class GraphicsAPI extends BaseAPI {
|
||||
* api.drawAxes(pad, "t",0,1, "S","0%","100%");
|
||||
*
|
||||
*/
|
||||
drawAxes(hlabel, hs, he, vlabel, vs, ve) {
|
||||
const h = this.height;
|
||||
const w = this.width;
|
||||
drawAxes(hlabel, hs, he, vlabel, vs, ve, w, h) {
|
||||
h = h || this.height;
|
||||
w = w || this.width;
|
||||
|
||||
this.line(0, 0, w, 0);
|
||||
this.line(0, 0, 0, h);
|
||||
|
Reference in New Issue
Block a user