font changes

This commit is contained in:
venbainfotech 2022-05-10 13:43:14 +05:30
parent b50790f089
commit 63209499ac

View File

@ -360,7 +360,7 @@ drawRectangle(file)
// context.save(); // context.save();
/// text color /// text color
// get width of text // get width of text
context.font = "bold 75px Arial"; context.font = "bold 75px Times New Roman";
var width = context.measureText(this.similarity+'%').width; var width = context.measureText(this.similarity+'%').width;
var height = context.measureText(this.similarity+'%').height; var height = context.measureText(this.similarity+'%').height;
context.fillStyle = 'rgb(255 255 255 / 70%)'; context.fillStyle = 'rgb(255 255 255 / 70%)';