Package org.inspirenxe.strata.api.visual
package org.inspirenxe.strata.api.visual
Engine-drawn content.
A Visual wraps an object only the engine can draw, such as a model
the engine renders, so the API can carry it without naming any engine type. An image control shows one, a painter
draws one, Text.visual(Visual) puts one in a line of text, and an
Appearance gives values one as their icon.
-
ClassDescriptionA grid of ARGB pixels that a project writes and any engine draws, such as a heat map, a chart rendered by hand or a picture decoded from bytes.How a sprite or a pixel buffer drawn at another size than its own picks the color of each device pixel.Something an engine knows how to draw that Strata cannot describe itself, such as a model the engine renders or a loaded image on Swing.