SKCanvasView Class
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
A view that can be drawn on using SkiaSharp drawing commands.
public class SKCanvasView : Android.Views.View
- Inheritance
-
SKCanvasView
SKCanvas |
Perform inflation from XML and apply a class-specific base style from a theme attribute. |
SKCanvas |
Constructor that is called when inflating a SKCanvasView from XML. |
SKCanvas |
Simple constructor to use when creating a SKCanvasView from code. |
SKCanvas |
A constructor used when creating managed representations of JNI objects; called by the runtime. |
Canvas |
Gets the current canvas size. |
Ignore |
Gets or sets a value indicating whether the drawing canvas should be resized on high resolution displays. |
Dispose(Boolean) |
Releases the unmanaged resources used by the SKCanvasView and optionally releases the managed resources. |
On |
|
On |
This is called when the view is detached from a window. |
On |
Implement this to do your drawing. |
On |
Obsolete.
Implement this to draw on the canvas. |
On |
Implement this to draw on the canvas. |
On |
This is called during layout when the size of this view has changed. If you were just added to the view hierarchy, you're called with the old values of 0. |
Paint |
Occurs when the the canvas needs to be redrawn. |
Produkt | Versioner |
---|---|
SkiaSharp Views | 1.60.x, 1.68.x, 2.80.x, 2.88.x |
Feedback om SkiaSharp
SkiaSharp är ett öppen källkod projekt. Välj en länk för att ge feedback: