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

commonMain.org.jetbrains.skia.shaper.TrivialScriptRunIterator.kt Maven / Gradle / Ivy

package org.jetbrains.skia.shaper

class TrivialScriptRunIterator(text: String, script: String) : MutableIterator {
    val _length: Int

    val _script: String

    internal var _atEnd: Boolean
    override fun next(): ScriptRun {
        _atEnd = true
        return ScriptRun(_length, _script)
    }

    override fun hasNext(): Boolean {
        return !_atEnd
    }

    init {
        _length = text.length
        _script = script
        _atEnd = _length == 0
    }

    override fun remove() {
        TODO("Not yet implemented")
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy