One can do the modification of the graphic attributes so that for performing these graphic primitives in graphic 2D context. MoveScaleRotateShear
Transform attribute is defined by the instance of class AffineTransform. Parallel lines are found to be parallel no matter if the transformation has been done in affine transformation.
Graphics 2D class provides number of methods to change the transform attribute. Graphic2Dtransform can be changed by calling