public static void drawShapePure( Graphics2D g, Shape shape ) {
		Object oldStrokeControl = g.getRenderingHint( RenderingHints.KEY_STROKE_CONTROL );
		g.setRenderingHint( RenderingHints.KEY_STROKE_CONTROL, RenderingHints.VALUE_STROKE_PURE );

		g.translate( 0.5, 0.5 );
		g.draw( shape );
		g.translate( -0.5, -0.5 );

		g.setRenderingHint( RenderingHints.KEY_STROKE_CONTROL, oldStrokeControl );
	}
Draws the given shape with disabled stroke normalization.
The x/y coordinates of the shape are translated by a half pixel.

@since 2.1
flatlaf-core/src/main/java/com/formdev/flatlaf/ui/FlatUIUtils.java