/Utils-for-JavaFX

A series of JavaFX utilities to facilitate development.

Primary LanguageJava

Utils for JavaFX

A series of JavaFX utilities to facilitate development.

Tester

  • Java File
  • Creates a Scene in JavaFX for easy, visual testing.

SilentFailArrayList

  • Java File
  • An ArrayList that doesn't crash when an index that's out of bounds is referenced.

ImageToInt2DArray

  • Java File
  • Specify your "resolution" (i.e. dimensions of array)
  • Converts a JavaFX Image object to a 2D array of integers
    • Bits 31 --> 24 opacity
    • Bits 23 --> 16 r
    • Bits 15 --> 8 g
    • Bits 7 --> 0 b

IntArray2DToImageConverter

  • Java File
  • Converts a two-dimensional integer array to a JavaFX Image
  • Intended to work in conjunction with the util above