Paint v2.0.0 Release Notes

Release Date: 2016-12-23 // about 6 years ago
  • Major Changes

    • 0️⃣ New default color mode 0xFFFFFF: 24bit - true color. If this breaks your code, add Paint.mode = 256 to the beginning of your code
    • New Paint%[] API: Substitution mechanism for nested color strings

    Minor Changes

    • Smaller gem size (compress RGB color name data)
    • Remove Paint.update_rgb_colors and Paint.rainbow
    • 🛠 Internal method .hex renamed to .rgb_hex and does not take "#" prefixed strings anymore
    • 📚 Minor refactorings and documentation updates