modules/graphics/src/main/java/com/sun/prism/j2d/J2DPrismGraphics.java
Print this page
*** 1282,1291 ****
--- 1282,1300 ----
System.out.println("J2D pipe doesn't support shader with alpha testing");
}
return false;
}
+ private boolean antialiasedShape = true;
+ public void setAntialiasedShape(boolean aa) {
+ antialiasedShape = aa;
+ }
+
+ public boolean isAntialiasedShape() {
+ return (!PrismSettings.forceNonAntialiasedShape && antialiasedShape);
+ }
+
public void scale(float sx, float sy, float sz) {
throw new UnsupportedOperationException("Not supported yet.");
}
public void setTransform3D(double mxx, double mxy, double mxz, double mxt,