Box
A simple rectangle poly that is block. This can be useful to make boxes for facet plots or when a rectangular placeholder is needed.
using CairoMakie
using ColorSchemes
fig = Figure()
rects = fig[1:4, 1:6] = [
Box(fig, color = c)
for c in get.(Ref(ColorSchemes.rainbow), (0:23) ./ 23)]
fig
© Makie.jl. Last modified: March 21, 2023. Website built with Franklin.jl and the Julia programming language.
These docs were autogenerated using Makie: v0.19.3, GLMakie: v0.8.3, CairoMakie: v0.10.3, WGLMakie: v0.8.7