draw Border
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
width Pix
the border line width in pixels
corner Radius Pix
the border corner radius in pixels (ignored when rotation transform exist)