SKSurfaceView 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.
An implementation of SurfaceView that uses the dedicated surface for displaying a hardware-accelerated SKSurface.
public class SKSurfaceView : Android.Views.SurfaceView, Android.Views.ISurfaceHolderCallback, IDisposable
public class SKSurfaceView : Android.Views.SurfaceView, Android.Views.ISurfaceHolderCallback, IDisposable, Java.Interop.IJavaPeerable
- Inheritance
-
SKSurfaceView
- Implements
SKSurface |
Perform inflation from XML and apply a class-specific base style from a theme attribute. |
SKSurface |
Constructor that is called when inflating a SKSurfaceView from XML. |
SKSurface |
Simple constructor to use when creating a SKSurfaceView from code. |
Canvas |
Gets the current canvas size. |
Dispose(Boolean) |
Releases the unmanaged resources used by the SKSurfaceView and optionally releases the managed resources. |
Lock |
Start editing the pixels in the surface. The returned SKLockedSurface can be used to get the surface for drawing into the surface's bitmap. |
Surface |
This is called immediately after any structural changes (format or size) have been made to the surface. |
Surface |
This is called immediately after the surface is first created |
Surface |
This is called immediately before a surface is being destroyed |
Unlock |
Finish editing pixels in the surface. After this call, the surface's current pixels will be shown on the screen, but its content is lost. |
Tuote | Versiot |
---|---|
SkiaSharp Views | 1.60.x, 1.68.x, 2.80.x, 2.88.x |
Tuotteen SkiaSharp palaute
SkiaSharp on avoin lähdekoodi projekti. Anna palautetta valitsemalla linkki: