nativescript-bitmap-factory icon indicating copy to clipboard operation
nativescript-bitmap-factory copied to clipboard

writeText - bold

Open bori87 opened this issue 7 years ago • 1 comments

How to make a font bold?

bori87 avatar Dec 25 '17 14:12 bori87

the .ttf files can simply be copied to the app/fonts directory in NativeScript project. in case of Roboto-Black.ttf

bmp.writeText("Sample", {x:50,y:50}, {color:new Color("#ff0000"), size:20, name:"Roboto-Black"});

thelastsummer avatar Jan 26 '19 04:01 thelastsummer