![]() |
|
Navigation |
Synopsis List of visualization tests (for developers only).
Examples
render(box()); ![]() render(box(shrink(0.5))); ![]() render(box( fillColor("green"))); ![]() render(box(hshrink(0.7), vshrink(0.2),fillColor("green"), lineColor("red"))); ![]() render(box(box(fillColor("white")), fillColor("mediumblue"), grow(1.5))); ![]() /Unsized blue outer box with black inner text render(box(text("een label"), fillColor("mediumblue"), grow(1.2))); ![]() Unsized blue outer box with white inner text render(box(text("een label", fontColor("white")), fillColor("mediumblue"),grow(1.2))); ![]() render(box(text("een label"), fillColor("mediumblue"), grow(2.0),shrink(0.7))); ![]() render(box(box(fillColor("green"), lineColor("red")), grow(2.0,1.5))); ![]() render(box(box(fillColor("green"), lineColor("red"),left()), grow(2.0,1.5))); ![]() render(box(box(text("label"),fillColor("green"), lineColor("red"), left(), top(),grow(1.2)), grow(2.0,1.5),resizable(false))); ![]() render(box(box(text("label"),fillColor("green"), lineColor("red"), left(), bottom(),grow(1.2)), grow(2.0,1.5),resizable(false))); ![]() render(box(box(text("label"),fillColor("green"), lineColor("red"), left(), right(),grow(1.2)), grow(2.0,1.5),vresizable(false))); ![]() render(box(box(text("label"),fillColor("green"), lineColor("red"), left(), right(),top(),grow(1.2)), grow(2.0,1.5))); ![]() render(box(box(text("label"),fillColor("green"), lineColor("red"), left(), right(),grow(1.2)), grow(2.0,1.5),width(100.0),height(100.0),hresizable(false))); ![]() render(box(box(text("label"),fillColor("green"), lineColor("red"), left(), right(),grow(1.2)), grow(2.0,1.5),width(100.0),height(300.0),resizable(false))); ![]() render(box(box( fillColor("green"), lineColor("red"), right(), bottom()), grow(1.3),size(300.0,200.0),resizable(false))); ![]() h = hcat([box(fillColor("mediumblue")),box(fillColor(rgb(0, 0, 205))),box(fillColor(rgb(0, 0, 205, 0.5))),box(fillColor(color("mediumblue",0.5)))],std(lineWidth(2))); render(h); ![]() h = hcat([ box(fillColor(color("mediumblue", 0.05))), box(fillColor(color("mediumblue", 0.2))), box(fillColor(color("mediumblue", 0.4))), box(fillColor(color("mediumblue", 0.6))), box(fillColor(color("mediumblue", 0.8))), box(fillColor(color("mediumblue", 1.0))) ] ); render(h); ![]() h = hcat([ box(fillColor(gray(125, 0.05))), box(fillColor(gray(125, 0.2))), box(fillColor(gray(125, 0.4))), box(fillColor(gray(125, 0.6))), box(fillColor(gray(125, 0.8))), box(fillColor(gray(125, 1.0))) ]); render(h); ![]() h = hcat( [ box(vshrink(0.2),hshrink(0.5), fillColor("red"),top()), box(vshrink(0.8),top()), box(shrink(0.1,0.5), fillColor("green"),top()) ], std(fillColor("yellow")), hgrow(1.1)); render(h ); ![]() h = hcat( [ box(vshrink(0.2),hshrink(0.5), fillColor("red"),bottom()), box(vshrink(0.8),bottom()), box(shrink(0.1,0.5), fillColor("green"),bottom()) ], std(fillColor("yellow")), hgrow(1.1)); render(h); ![]() h = hcat( [ box(vshrink(0.2),hshrink(0.5), fillColor("red"),vcenter()), box(vshrink(0.8),vcenter()), box(shrink(0.1,0.5), fillColor("green"),vcenter()) ], std(fillColor("yellow")), hgrow(1.1)); render(h); ![]() h = hcat( [ box(size(100,200), fillColor("red")), box(align(0.5,1.0), size(150,100)), hcat([box(size(200,50), fillColor("green")), box(size(50,100), fillColor("yellow")) ], std(bottom()) ) ], gap(10),std(top()),std(vresizable(false))); render(h); ![]() h =hcat( [ box(size(100,200), fillColor("red")), box(align(0.5,1.0), size(150,100)), hcat([box(size(200,50), fillColor("green")), box(size(50,100), fillColor("yellow")) ], std(bottom()) ) ], gap(10),std(vresizable(false)) ); render(h); ![]() h =hcat( [ box(align(0.0, 0.1), size(100,100), fillColor("red")), box(align(0.0, 0.2), size(100,100)), box(align(0.0, 0.3), size(100,100), fillColor("green")), box(align(0.0, 0.4), size(100,100), fillColor("yellow")) ], gap(10),vsize(200),std(vresizable(false)) ); render(h); ![]() h =vcat( [ box(size(100,200), fillColor("red")), box(size(150, 100), fillColor("blue")), box(size(200,50), fillColor("green")) ], std(left()), gap(2),std(resizable(false)) ); render(h); ![]() h =vcat( [ box(size(100,200), fillColor("red")), vcat([ box(size(150,100)), box(size(50,50)), box(size(30,30)) ], std(right())), box(size(200,50), fillColor("green")) ], gap(10),std(left()),std(resizable(false)) ); render(h); ![]() h =hcat([ box(size(100,250), fillColor("red")), vcat([ hcat( [ box(size(50, 100), fillColor("blue")), box(size(100, 50), fillColor("blue")) ], std(vcenter())), box(size(250,50), fillColor("green")) ], std(right()), gap(30)), box(size(100,100), fillColor("yellow")) ], std(bottom()), gap(10),std(resizable(false))); render(h); ![]() h =overlay([ box(shrink(0.5,0.3), fillColor("green")), box(shrink(0.3,0.5) ,fillColor("red")) ], std(center())); render(h); ![]() h =overlay( [ box(size(100,250), fillColor("red")), vcat([ box(size(150,100)), box(size(50,50)), box(size(30,30)) ], std(right())), box(size(150,5), fillColor("green")) ], gap(10),std(left()),std(resizable(false))); render(h); ![]() render(ellipse(text("een label", fontColor("white")),fillColor("mediumblue"), grow(1.2))); ![]() ![]() |