boolean function ( int arg0 , int arg1 ) { boolean loc0 = false ; for ( Figure loc1 : view . getModel ( ) . getFigures ( ) ) { if ( view . getSelection ( ) . contains ( loc1 ) && loc1 . contains ( arg0 , arg1 ) ) { loc0 = true ; break ; } } return loc0 ; }
is the given position near an already selected figure ? concode_field_sep FigureHandle currentHandle concode_elem_sep int sx0 concode_elem_sep int sy1 concode_elem_sep int sy0 concode_elem_sep int sx1 concode_elem_sep Figure lastSelectedFigure concode_elem_sep DrawView view concode_elem_sep int originalY concode_elem_sep int tempX concode_elem_sep int tempY concode_elem_sep DrawContext context concode_elem_sep int originalX concode_elem_sep String IMAGES concode_elem_sep boolean selMode concode_field_sep Cursor getCursor concode_elem_sep Rectangle makePositiveSize concode_elem_sep boolean contains concode_elem_sep String getName concode_elem_sep int min concode_elem_sep int abs concode_elem_sep void mouseDrag concode_elem_sep void mouseUp concode_elem_sep void activate concode_elem_sep void mouseDown concode_elem_sep void deactivate concode_elem_sep Icon getIcon