type = ShapeType.UNKNOWN;
}
}
private void initShapePath( Point nearestPoint ) {
generalPath = new PathAdapter();
if( Platform.getOS().equals(Platform.OS_LINUX) ){
generalPath.setPath(new GeneralPath());
}else{
generalPath.setPath(new Path(getDisplay()) );
}