B4J Code Snippet ColorPicker view to integer Color (SelectedColor, scene.paint.paint)

This is B4J only. Took me a while to find it so thought this might help someone else.

B4X:
Private FontColor As ColorPicker
.
.
Dim MyColor as int = xui.PaintOrColorToColor(FontColor.SelectedColor)
 
Top