A DESCRIPTION OF THE PROBLEM :
When using outside or inside strokeType on polyline the shape isn't draw correctly
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Launch the attached sample app
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
No cut in the shape
ACTUAL -
the horizontal line are cuted
---------- BEGIN SOURCE ----------
/**
*
* @author cfischer
*/
public class PolylineStrokeType extends Application {
@Override
public void start(Stage primaryStage) {
StackPane root = new StackPane();
root.setScaleX(4);
root.setScaleY(4);
Polyline polyline = new Polyline(0.0, 0.0, 0.0, 44.0, -60.0, 44.0, -60.0, 100.0);
polyline.setStrokeType(StrokeType.INSIDE);
root.getChildren().add(polyline);
Scene scene = new Scene(root, 300, 600);
primaryStage.setTitle("Stroke Type On Polyline");
primaryStage.setScene(scene);
primaryStage.show();
}
/**
* @param args the command line arguments
*/
public static void main(String[] args) {
launch(args);
}
}
---------- END SOURCE ----------
FREQUENCY : always
When using outside or inside strokeType on polyline the shape isn't draw correctly
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Launch the attached sample app
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
No cut in the shape
ACTUAL -
the horizontal line are cuted
---------- BEGIN SOURCE ----------
/**
*
* @author cfischer
*/
public class PolylineStrokeType extends Application {
@Override
public void start(Stage primaryStage) {
StackPane root = new StackPane();
root.setScaleX(4);
root.setScaleY(4);
Polyline polyline = new Polyline(0.0, 0.0, 0.0, 44.0, -60.0, 44.0, -60.0, 100.0);
polyline.setStrokeType(StrokeType.INSIDE);
root.getChildren().add(polyline);
Scene scene = new Scene(root, 300, 600);
primaryStage.setTitle("Stroke Type On Polyline");
primaryStage.setScene(scene);
primaryStage.show();
}
/**
* @param args the command line arguments
*/
public static void main(String[] args) {
launch(args);
}
}
---------- END SOURCE ----------
FREQUENCY : always