openrndr / org.openrndr.draw / FontImageMap / fromFile

fromFile

fun fromFile(file: String, size: Double, characterSet: Set<Char> = defaultFontmapCharacterSet, contentScale: Double = 1.0): FontImageMap (source)