valueOf

@JvmStatic
fun valueOf(value: String): LineCap

Utility function to get LineCap instance from given value.