C# キャンバスに 1 つの点 (色付き) を描画する方法を探しています。アンドロイドでは、私は次のようなことをします
paint.Color = Color.Rgb (10, 10, 10);
canvas.DrawPoint (x, y, paint);
なので、 Shapeクラスにあると思ったのですが、ありませんでした。何か足りないのですか、それとも単一の点を描く方法がありませんか?
2 番目の場合、推奨される点の描画方法は何ですか? HTML5 キャンバスにも同様の問題があり、人々は長方形/円を使用して点を描いています。
PS同様のタイトルのAdd Point to Canvasの質問は、それに答えておらず、「形状を描く方法」に移行しています。