styleByPath

fun styleByPath(path: List<Int>, attributes: Map<String, String>)

Sets the attributes to the element at the given path.


fun styleByPath(fromPath: List<Int>, toPath: List<Int>, attributes: Map<String, String>)

Sets the attributes to the elements in the path range between fromPath and toPath.