MCPcopy Create free account
hub / github.com/candybox2/candybox2.github.io / drawVerticalLine

Method drawVerticalLine

code/main/RenderArea.ts:410–417  ·  view source on GitHub ↗
(str: string, x: number, y1: number, y2: number)

Source from the content-addressed store, hash-verified

408 }
409
410 public drawVerticalLine(str: string, x: number, y1: number, y2: number): boolean{
411 for(var i = y1; i <= y2; i++){
412 if(this.drawString(str, x, i) == false)
413 return false;
414 }
415
416 return true;
417 }
418
419 public eraseEverything(character: string = " "): boolean{
420 var str: string;

Callers 7

drawQuestLogoMethod · 0.80
updateAllMethod · 0.80
drawTabsMethod · 0.80
drawLocalSaveMethod · 0.80
drawMethod · 0.80
renderMethod · 0.80
drawMethod · 0.80

Calls 1

drawStringMethod · 0.95

Tested by

no test coverage detected