CropFilterRender

Created by pedro on 6/3/24.

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open override fun draw()
Link copied to clipboard
open fun getPreviousTexId(): Int
Link copied to clipboard
open override fun getTexId(): Int
Link copied to clipboard
open fun initFBOLink()
Link copied to clipboard
open override fun initGl(width: Int, height: Int, context: Context, previewWidth: Int, previewHeight: Int)
Link copied to clipboard
open override fun release()
Link copied to clipboard
fun setCropArea(offsetX: Float, offsetY: Float, width: Float, height: Float)

Set crop area in percentage. Starting from top left corner. Moved in right bottom

Link copied to clipboard
open fun setPreviewSize(previewWidth: Int, previewHeight: Int)
Link copied to clipboard
open fun setPreviousTexId(texId: Int)