MCPcopy Index your code
hub / github.com/benfry/processing4 / setInt

Method setInt

core/src/processing/data/XML.java:818–820  ·  view source on GitHub ↗

Sets the content of an element's attribute as an int . A String specifies the attribute name, while the int specifies the new content. @webref xml:method @webBrief Sets the content of an attribute as an int

(String name, int value)

Source from the content-addressed store, hash-verified

816 * @webBrief Sets the content of an attribute as an <b>int</b>
817 */
818 public void setInt(String name, int value) {
819 setString(name, String.valueOf(value));
820 }
821
822
823 /**

Callers

nothing calls this directly

Calls 1

setStringMethod · 0.95

Tested by

no test coverage detected