setAttributes

fun setAttributes(block: Attributes.() -> Unit)

Sets attributes using block.