Skip to content

Releases: Krassnig/CodeDraw

This isn't even my FinalDraw

03 Sep 21:39
Compare
Choose a tag to compare
  • Fix crashes when closing CodeDraw through the gui while in an endless loop.
  • CodeDraw.run(...) now returns normaly when the user closes the window.
  • Matrix2D now requires specification whether the arguments are row or column major.

Polyfilled

14 Nov 14:39
Compare
Choose a tag to compare
  • Fix bug where fillPolygon would only draw outline

Pixel Perfect

18 Oct 12:58
Compare
Choose a tag to compare
  • Fix bug where getPixel crashes on High DPI devices

Redocumentation

08 Sep 17:20
Compare
Choose a tag to compare

Bits and Pieces

05 Feb 22:41
Compare
Choose a tag to compare
  • Changeable corner radius for squares and rectangles setCornerRadius
  • Allow fallback font names in setFontName
  • Events now have timestamps getTimeCreated
  • Events older than than a specified duration can now be cleared from the EventScanner with removeEventsOlderThan(Duration)
  • Force minimum amount of arguments in var args methods drawPolygon and fillPolygon
  • Compose Animation interfaces by calling Animation.combine(Animation... animations)

Matrix Release

04 Oct 19:07
Compare
Choose a tag to compare
  • Add linear transformations through the Matrix2D class and setTransformation()
  • All classes are now in a single package
  • FullScreen and BorderlessWindow display classes added
  • Inversion of control through the Animation interface
  • CodeDrawImage is now just Image
  • Images can now be transparent
  • Added static image editing methods
  • Custom shapes can be created by calling drawPathStartingAt(...)
  • Add getPixel/setPixel method to Image
  • Conversion to AWT Image now through toBufferedImage()
  • EventScanner can only be accessed by calling getEventScanner() now
  • EventScanner is now Iterable with Event super class of all event classes
  • String representations of the Event classes for better debugging
  • Remove direct event handling through lambdas
  • TextFormat can now chain setters
  • Merge HorizontalAlign and VerticalAlign into TextOrigin

Instant Coffee

07 Mar 12:01
Compare
Choose a tag to compare
  • Adds InstantDraw mode that immediately displays drawn objects
  • Adds always on top option for CodeDraw window

EventScanner

12 Feb 10:52
Compare
Choose a tag to compare
  • CodeDraw minimal Java version now 9
  • Rework events, Events can now be read with an EventScanner. See examples and documentations for detail!
  • Pies and Arcs start at 3 o'clock instead of 12 o'clock and go clockwise
  • Fix MouseClick event
  • Add interpolation option to image drawing
  • Minimum size of CodeDraw canvas is now 1x1 pixel
  • More documentation in JavaDoc and INTRODUCTION.md
  • Images now wrapped as CodeDrawImage
  • Images must now be loaded through static methods in CodeDrawImage.
  • Support for multiple lines in drawText (use the '\n' character)
  • Improved rendering settings
  • CodeDraw cannot be used on the event loop thread

Window Size Fix Part II

04 Feb 19:35
Compare
Choose a tag to compare
  • Fixes the window scaling issue as much as possible
  • Fixes incorrect CanvasPosition

Window Size Fix

09 Dec 16:04
Compare
Choose a tag to compare

Fix an issue where the window will be smaller than the specified size given to CodeDraw when the user screen is smaller than the specified size.
This only works on Screen DPI settings with 100%.