This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class DrawingOverlay(context : Context, attributeSet : AttributeSet) : SurfaceView( context , attributeSet ) , SurfaceHolder.Callback { | |
var maskBitmap : Bitmap? = null | |
override fun surfaceCreated(holder: SurfaceHolder) { | |
TODO("Not yet implemented") | |
} | |
override fun surfaceChanged(holder: SurfaceHolder, format: Int, width: Int, height: Int) { | |
TODO("Not yet implemented") | |
} | |
override fun surfaceDestroyed(holder: SurfaceHolder) { | |
TODO("Not yet implemented") | |
} | |
override fun onDraw(canvas: Canvas?) { | |
// Draw the segmentation here | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment