インタラクティブな四角形
インタラクティブな四角形は、辺をドラッグしてサイズ変更したり、本体をドラッグして位置変更したりできます
ScottPlot.Plot myPlot = new();
for (int i = 0; i < 5; i++)
{
CoordinateRect rect = Generate.RandomCoordinateRect();
myPlot.Add.InteractiveRectangle(rect);
}
myPlot.SavePng("demo.png", 400, 300);
このレシピは、インタラクティブカテゴリにある多くのレシピの 1 つです
