Duplicate :
|
|
Relates :
|
Graphics.getClipBounds/getClip internally uses transformShape/untransformShape which are not symmetric in some cases. Also getClipBounds() sometimes uses usrClip directly(if usrClip is a Rectangle) and sometimes uses getBounds(). But getBounds() returns empty Rectangle if width and height is negative. This caused jck failure, if default graphics transform is not an identity.
|