I am creating some shapes using PathElements calculated from rotations. Sometimes these calculations end up on "very close" approximations to the integer value - for example, a result might be 89.9997 or so. When rendered, I see aliasing effects where I don't expect to see them, normally. I would expect the rounding to give me a final pixel location of 90 instead of 89.
Attached is a sample Scene and screencap showing this result. I'm not 100% sure this is a bug or just what you get with non-integral pixel dimensions. I am getting around it by selectively rounding Number/Float values sufficiently close to integral values using java.lang.Math.round().
Attached is a sample Scene and screencap showing this result. I'm not 100% sure this is a bug or just what you get with non-integral pixel dimensions. I am getting around it by selectively rounding Number/Float values sufficiently close to integral values using java.lang.Math.round().