DuotoneFilterRender

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
open val blue: Float
Link copied to clipboard
open val blue2: Float
Link copied to clipboard
Link copied to clipboard
open val green: Float
Link copied to clipboard
open val green2: Float
Link copied to clipboard
open val previewHeight: Int
Link copied to clipboard
open val previewWidth: Int
Link copied to clipboard
open val red: Float
Link copied to clipboard
open val red2: Float
Link copied to clipboard

Functions

Link copied to clipboard
open fun draw()
Link copied to clipboard
open fun getPreviousTexId(): Int
Link copied to clipboard
open fun getTexId(): Int
Link copied to clipboard
open fun initFBOLink()
Link copied to clipboard
abstract fun initGl(width: Int, height: Int, context: Context, previewWidth: Int, previewHeight: Int)
open fun initGl(width: Int, height: Int, context: Context, previewWidth: Int, previewHeight: Int)
Link copied to clipboard
open fun release()
Link copied to clipboard
open fun setColor(colorResource: Int, colorResource2: Int)

open fun setColor(resources: Resources, colorResource: Int, colorResource2: Int)
Get string color from color file resource and strip alpha values (alpha values is always auto completed)
Link copied to clipboard
open fun setPreviewSize(previewWidth: Int, previewHeight: Int)
Link copied to clipboard
open fun setPreviousTexId(texId: Int)
Link copied to clipboard
open fun setRGBColor(rgbHexColor: String, rgbHexColor2: String)

open fun setRGBColor(r: Int, g: Int, b: Int, r2: Int, g2: Int, b2: Int)
Values range 0 to 255