Softanza
StartFrançais
Softanza
The library documents itself · Diagramming & graphs

stzColorResolver

7 own methods · 0 forms written with extensions, listed under their method

the source: base/graph/stzDiagram.ring(opens in a new tab) · All classes · The area reference: Diagramming & graphs

Under each method, its extensions (Q CS XT Z ZZ IB W U): bold and ticked, it exists; struck, it does not. The extensions and what they mean

Examples: 0 come from the library's tests; 1 were composed from each method's signature and run for this page, on a fresh object, for example o1 = new stzColorResolver(). 6 methods have none yet. Examples run on 2026-10-03 20:23 inside the library at commit 0e72e2e2c.

Method
Explanation, as the source carries it
init
(no comment in the source: the name reads as a sentence) initno extension
ResolveFontColor
(no comment in the source: the name reads as a sentence) resolve font color
composed example
o1 = new stzColorResolver()
? o1.ResolveFontColor(TRUE)
#--> black
composed from the signature, run for this page
no extension
ContrastingTextColor
DELEGATES to the universal StzContrastingText. This carried its own copy of the BT.709 rule, so a plot or a canvas wanting the same answer had to instantiate a diagram to borrow it. One rule, one place -- the two colour TABLES already showed what happens when that slips.no extension
ColorToRGB
(no comment in the source: the name reads as a sentence) color to rgbno extension
NodeStrokeColorForTheme
(no comment in the source: the name reads as a sentence) node stroke color for themeno extension
ConvertColorToGray
(no comment in the source: the name reads as a sentence) convert color to grayno extension
ResolveWithPalette
(no comment in the source: the name reads as a sentence) resolve with paletteno extension