void function ( MouseEvent arg0 , GraphicsContext arg1 ) { xInitial = arg0 . getX ( ) ; yInitial = arg0 . getY ( ) ; arg1 . moveTo ( xInitial , yInitial ) ; arg1 . setFill ( colorPicker . getValue ( ) ) ; }
this method deals with actions to be called when the mouse is pressed concode_field_sep double yInitial concode_elem_sep double xInitial concode_elem_sep ColorPicker colorPicker concode_field_sep String getName concode_elem_sep void onDrag concode_elem_sep void onRelease