private ClickableMarkerShape translateMarker ( ClickableMarkerShape shape , int amountOfMarkers ) { if ( amountOfMarkers % imagePerRow != 0 ) { int size = choiceListImageSize + 6 ; shape . setTranslation ( size * ( amountOfMarkers % imagePerRow ) , size * ( amountOfMarkers / imagePerRow ) ) ; } return shape ; }
used for displaying marker SVG elements in a drawing area .