Returns the text attributes bitmask at index.
index
int getAttributes(int index) { if (index < 0 || index >= length) { throw RangeError.index(index, this, 'index'); } return attributes[index]; }