0
Ülevaatamisel

Canvas

szs_szs 4 aastat tagasi uuendaja Oystein Bjorke 4 aastat tagasi 2
I am trying to draw some geometric shape's on oxyplot canvas. I think there are several ways to do it. For example i want to draw on canvas with transparent background. And the main question is it possible to synchronize canvas of "drawingCanvas" and OxyPlot canvas. Because when oxyplot is panning, canvas is staying unchanged.
Ülevaatamisel
Sorry, I tried to format your code example, but the code was deleted instead... Can you post the code again?
You can create a custom Annotation class to draw anything you want in the plot view.
Also see the `DelegateAnnotation` in the `ExampleLibrary.RenderingCapabilities` class, that is very general.