Skip to content

Utilities

The small helpers that the other families share: points and boxes, Bézier curves, sorted and registry lists, lockable values, threads, platform folders, JSON files and pixel buffers. Learn: Threads, Where JOID stores files.

TypeKindSummary
BezierclassComputes the points of quadratic and cubic Bézier curves.
BoundingBoxclassMutable rectangle stored by its minimum and maximum corners, in design pixels.
IIndexedElementinterfaceElement that gives its place in an IndexedList.
ImageUtilsclassDecodes an image with a chosen reader and prepares pixels with transparent areas for filtering.
IndexedListclassList kept sorted by the index of its elements, with equal indexes in insertion order.
JsonFilesclassReads and writes the JSON files of JOID safely: atomic writes, and a damaged file set aside instead of lost.
LockableValueclassMutable value that can be locked, after which its setters refuse to change it and point to the methods that return a copy.
PixelLayoutenumOrder of the four bytes of a pixel in a buffer, to convert between buffers and ARGB int pixels.
PlatformenumOperating system that JOID runs on, and where it keeps its cache there.
PointclassImmutable point of two or three double coordinates, compared by value.
RegistryclassOrdered list of registered values in which the most recent registration wins.
RenderThreadFutureclassFuture that completes on the render thread once the work it wraps is done, so the stages chained on it can touch the interface.
ThreadUtilsclassCreates daemon threads and runs a task on the render thread.

Report a problem with this page