All Downloads are FREE. Search and download functionalities are using the official Maven repository.

jsMain.web.fonts.FontFace.kt Maven / Gradle / Ivy

// Automatically generated - do not modify!

package web.fonts

import js.buffer.ArrayBuffer
import js.buffer.ArrayBufferView
import kotlin.js.Promise

external class FontFace(
    family: String,
    source: String,
    descriptors: FontFaceDescriptors = definedExternally,
) {
    constructor(
        family: String,
        source: ArrayBuffer,
        descriptors: FontFaceDescriptors = definedExternally,
    )

    constructor(
        family: String,
        source: ArrayBufferView,
        descriptors: FontFaceDescriptors = definedExternally,
    )

    var ascentOverride: String
    var descentOverride: String
    var display: FontDisplay
    var family: String
    var featureSettings: String
    var lineGapOverride: String
    val loaded: Promise
    val status: FontFaceLoadStatus
    var stretch: String
    var style: String
    var unicodeRange: String
    var variant: String
    var weight: String
    fun load(): Promise
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy