Searched refs:context2D (Results 1 – 5 of 5) sorted by relevance
| /developtools/smartperf_host/ide/src/trace/component/trace/timer-shaft/ |
| D | SportRuler.ts | 198 this.context2D.clearRect(this.frame.x, this.frame.y, this.frame.width, this.frame.height + 1); 199 this.context2D.beginPath(); 201 this.context2D.lineWidth = 1; 202 this.context2D.strokeStyle = this.lineColor; //"#dadada" 203 this.context2D.moveTo(this.frame.x, this.frame.y); 204 this.context2D.lineTo(this.frame.x + this.frame.width, this.frame.y); 205 this.context2D.stroke(); 206 this.context2D.closePath(); 207 this.context2D.beginPath(); 208 this.context2D.strokeStyle = '#999999'; [all …]
|
| D | TimeRuler.ts | 38 this.context2D.clearRect(this.frame.x, this.frame.y, this.frame.width, this.frame.height); 39 this.context2D.beginPath(); 40 this.context2D.lineWidth = 1; 41 this.context2D.strokeStyle = '#999'; 44 this.context2D.moveTo(x, 0); 45 this.context2D.lineTo(x, this.frame.height); 50 this.context2D.moveTo(x + Math.floor(innerIndex * this.stepSmall), 0); 51 this.context2D.lineTo(x + Math.floor(innerIndex * this.stepSmall), this.frame.height / 4); 53 this.context2D.fillStyle = '#999'; 54 this.context2D.fillText(`${ns2s(index * this.stepNS)}`, x + 5, this.frame.height - 1); [all …]
|
| D | RangeRuler.ts | 53 this.context2D.beginPath(); 54 this.context2D.strokeStyle = '#999999'; 55 this.context2D.lineWidth = 7; 56 this.context2D.moveTo(this.frame.x, this.frame.y); 57 this.context2D.lineTo(this.frame.x, this.frame.y + this.frame.height / 3); 58 this.context2D.stroke(); 59 this.context2D.strokeStyle = '#999999'; 60 this.context2D.lineWidth = 1; 61 this.context2D.moveTo(this.frame.x, this.frame.y); 62 this.context2D.lineTo(this.frame.x, this.frame.y + this.frame.height); [all …]
|
| D | Graph.ts | 20 context2D: CanvasRenderingContext2D; property in Graph 26 this.context2D = c;
|
| /developtools/smartperf_host/ide/test/trace/component/trace/timer-shaft/ |
| D | SportRuler.test.ts | 98 sportRuler.context2D = ctx;
|