Package io.flutter.plugin.platform
Interface PlatformViewRenderTarget
-
- All Known Implementing Classes:
ImageReaderPlatformViewRenderTarget,SurfaceTexturePlatformViewRenderTarget
public interface PlatformViewRenderTargetA PlatformViewRenderTarget interface allows an Android Platform View to be rendered into an offscreen buffer (usually a texture is involved) that the engine can compose into the FlutterView.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intgetHeight()longgetId()SurfacegetSurface()intgetWidth()booleanisReleased()CanvaslockHardwareCanvas()voidrelease()voidresize(int width, int height)voidunlockCanvasAndPost(Canvas canvas)
-
-
-
Method Detail
-
resize
void resize(int width, int height)
-
getWidth
int getWidth()
-
getHeight
int getHeight()
-
lockHardwareCanvas
Canvas lockHardwareCanvas()
-
unlockCanvasAndPost
void unlockCanvasAndPost(Canvas canvas)
-
getId
long getId()
-
release
void release()
-
isReleased
boolean isReleased()
-
getSurface
Surface getSurface()
-
-