font_get_italic


描述

With this function you can check any font asset to see if it has the italic flag or not. If it does the function will return true, otherwise it will return false.


语法:

font_get_italic(ind);


参数 描述
ind 待检测的字体索引。


返回:

Boolean(布尔值)


例如:

if font_get_italic(fnt_Main)
   {
   draw_set_font(fnt_Main);
   }

This will set the active drawing font to fnt_Main if it is set as italic in its font properties.