skrypton-api / com.waicool20.skrypton.jni.objects / WebViewHighlighter / <init>

<init>

WebViewHighlighter(view: SKryptonWebView, x: Int, y: Int, width: Int, height: Int, fillColor: Boolean = false, color: Color = Color.GREEN)

Main constructor

Parameters

view - Web view to use this highlighter with.

x - x coordinates where top left corner of the highlighter should begin.

y - y coordinates where top left corner of the highlighter should begin.

width - Width of the highlighter rectangle.

height - Height of the highlighter rectangle.

fillColor - Whether or not the highlight should filled or just a border.

color - Color of the highlight.