Catalog
Each card shows what JOID draws, with a link to the page that teaches it and to its reference.
The nodes that draw shapes, text, images, media, charts and 3D models, and the nodes that arrange other nodes.
RectNodeDraws a filled rectangle on its bounds, with an optional border, and colors that fade on hover.Learn · ReferenceCircleNodeDraws a filled disc in its bounds, with a color that fades on hover.Learn · Reference
TextNodeDraws a Text in its bounds, and takes the size of the text when no size is declared.Learn · ReferenceResourceNodeDraws an image resource in its bounds, tinted by a color, with an optional image that fades in on hover.Learn · ReferenceResourcePlayerNodePlays a video or an animated image in its bounds, with its sound, and controls the playback.Learn · ReferenceProgressNodeShows a progress from 0 to 1 by sizing its fill part over an optional track part.Learn · Reference
ModelNodeDraws a 3D model at a zoom and a rotation that your code sets.Learn · ReferenceModelViewerNodeDraws a 3D model that the user turns by dragging and zooms with the wheel, within ranges.Learn · Reference
ContainerNodeA node that draws nothing and groups its children, to move, clip or scroll them together.Learn · Reference
FlexNodePlaces its visible children one after the other in a column or a row, and takes the size of its content.Learn · Reference
GridNodePlaces its visible children in rows that wrap at its width, and takes the height of its content.Learn · ReferenceReorderableFlexNodeA flex column or row whose children the user reorders by dragging them.Learn · Reference
ChartNode needs a skinBase class of a chart that shows named series of values over the labels of an X axis.Learn · Reference
RadarChartNode needs a skinBase class of a radar chart, which shows one value per axis around a center.Learn · ReferenceControls
Section titled “Controls”Text fields draw themselves; the other controls are abstract and need a skin. These cards use plain skins like the ones that Give your controls a look writes.
TextFieldNodeA one-line field whose value is its text.Learn · ReferenceMultilineTextFieldNodeA field of several lines whose value is its text, wrapped in its width.Learn · ReferenceIntegerFieldNodeA one-line field that holds an Integer between a minimum and a maximum, stepped by Up, Down and the wheel.Learn · ReferenceCheckboxNode needs a skinA checkbox made of two parts: a box that covers the control and a mark shown while it is checked.Learn · ReferenceToggleNode needs a skinA toggle made of two parts: a track that covers the control and a knob that slides from the left (off) to the right (on).Learn · ReferenceSwitchNode needs a skinA choice that shows every option side by side, one node per option, and selects the option under a left press.Learn · ReferenceSelectorNode needs a skinA drop-down list made of a field and one node per option, with the selected option on top and the others in rows under it or above it.Learn · ReferenceIntegerSliderNode needs a skinA slider over a range of integers.Learn · ReferenceDoubleSliderNode needs a skinA slider over a range of decimal numbers with a fixed step.Learn · ReferenceStringSliderNode needs a skinA slider over a list of texts, such as quality levels, given as texts or as the constants of an enum.Learn · ReferenceScrollbarNode needs a skinA scrollbar made of two parts: a track that covers the bar and a thumb sized and placed from the scroll of the node it serves.Learn · ReferenceEffects
Section titled “Effects”Effects change how a node is drawn, never its layout.
RoundedNodeEffectRounds the corners of what a node draws, all four or only some of them.Learn · Reference
CircleNodeEffectCuts what a node draws to the largest disc centered in its bounds.Learn · Reference
BorderNodeEffectOutlines the pixels that a node draws, outside or inside their edge.Learn · Reference
ShadowNodeEffectDraws a soft shadow of the shape of a node under it, or a glow when the color is light.Learn · Reference
BlurNodeEffectBlurs what a node draws with a horizontal then a vertical Gaussian pass.Learn · Reference
MaskNodeEffectHides every pixel of a node and its children outside a rectangle, or outside the opaque part of an image.Learn · Reference
TransformNodeEffectMoves, rotates or scales the drawing of a node and its children without changing the layout.Learn · ReferenceTransitions
Section titled “Transitions”A transition animates a UI when it opens and when it closes.
PopTransitionTransition that grows a UI from 75 % of its size when it opens and shrinks it back when it closes, in 130 ms, around its anchor.Learn · ReferenceEasing curves
Section titled “Easing curves”Each card plots the IN (blue), OUT (light grey) and IN_OUT (grey) curves of a family, from the start of an animation (left) to its end (right), with their names under the curves.
LinearTweenEquationEasing curve of constant speed.Learn · ReferenceQuadTweenEquationEasing curves along a power of 2.Learn · ReferenceCubicTweenEquationEasing curves along a power of 3.Learn · ReferenceQuartTweenEquationEasing curves along a power of 4.Learn · ReferenceQuintTweenEquationEasing curves along a power of 5.Learn · ReferenceSineTweenEquationEasing curves along a sine.Learn · ReferenceExpoTweenEquationEasing curves along an exponential.Learn · ReferenceCircTweenEquationEasing curves along quarter circles.Learn · ReferenceBackTweenEquationEasing curves that move back a little before they start or go past the end before they settle.Learn · ReferenceBounceTweenEquationEasing curves that bounce, like a ball that falls and rebounds.Learn · ReferenceElasticTweenEquationEasing curves that oscillate like a spring at the start or at the end.Learn · ReferenceText effects, markup and modifiers
Section titled “Text effects, markup and modifiers”Text effects move or color each glyph: JOID ships the ITextEffect interface, and the effects and the markup of these cards are written like the ones in Text markup and effects.
Text modifiers change the characters before layout.
UPPER_CASELearn · Reference
LOWER_CASELearn · Reference
CAPITALIZELearn · Reference
WORD_CAPITALIZELearn · Reference
CAMEL_CASELearn · Reference
UPPER_CAMEL_CASELearn · Reference
SNAKE_CASELearn · ReferenceCursors
Section titled “Cursors”The cursor shapes a node asks for with cursor(...); the operating system draws them, so their look follows the system, and each card shows a plain drawing of the shape.
Hover, tooltips and cursors shows how a node asks for one.
DEFAULTThe usual arrow.Learn · Reference
POINTERA hand: something that reacts to a click.Learn · Reference
TEXTAn I-beam: text that you select or type.Learn · Reference
CROSSHAIRA cross: a precise point to pick.Learn · Reference
MOVEFour arrows: something that you move.Learn · Reference
NOT_ALLOWEDA crossed circle: an action that is refused here.Learn · Reference
RESIZE_EWA left-right arrow: a horizontal resize.Learn · Reference
RESIZE_NSAn up-down arrow: a vertical resize.Learn · Reference
RESIZE_NWSEA diagonal arrow from the top left to the bottom right: a corner resize.Learn · Reference
RESIZE_NESWA diagonal arrow from the top right to the bottom left: a corner resize.Learn · Reference