Is there a function that gives you dimensions of Graphics
? I mean x
and y
dimensions of rectangular region that the content of Graphics
would fit into.
Graphics[{Table[
Circle[RandomReal[{-10, 10}, 2], RandomReal[{0, 10}, 2],
RandomReal[{0, 2 π}, 2]], {n, 100}]}]
Update:
PlotRange
is of no use since it is far from being precise.
v = Table[
Circle[RandomReal[{-10, 10}, 2], RandomReal[{0, 10}, 2],
RandomReal[{0, 2 π}, 2]], {n, 100}];
Graphics[{v}];
Graphics[{v, {Transparent, EdgeForm[Red],
Rectangle @@ Transpose[PlotRange[%]]}}]
Also BoundingRegion
is of no use for the same reason - being imprecise.
Graphics
. It is not that it does not work only in specific situations. $\endgroup$