Font.direction

Wraps TTF_SetFontDirection (from SDL_ttf 2.20) to set the dsdl2.ttf.Font's script direction

class Font
@property @trusted
static if(sdlTTFSupport >= SDLTTFSupport.v2_20)
void
direction

Parameters

newDirection Direction

new script dsdl2.ttf.Direction for the dsdl2.ttf.Font

Throws

dsdl.SDLException if unable to set script direction

Meta