drawBorder

protected open fun drawBorder(canvas: CanvasBuffer, color: Int, widthPix: Int, cornerRadiusPix: Float)

Override this function to enable custom border drawing when showBorder is true

Parameters

canvas

the CanvasBuffer for drawing the required information

color

the border color

widthPix

the border line width in pixels

cornerRadiusPix

the border corner radius in pixels (ignored when rotation transform exist)

See also