This loop is good for small code size (no large masks), but otherwise pretty much no advantage. A tag already exists with the provided branch name. Mirroring image pixels along a vertical Line. Left Triangle Star Pattern 4.3. 1) The 1st outer do-while loop is executed until the condition ++i<=n is false, the inner loop will display the character until the condition++j<=i is false. 1 2 3 1 2 3 4 The dots represent spaces. Can you read in the source picture correctly? Duplication or Copying Our Site Content Is Strictly Prohibited. Downward Triangle Star Pattern 4.5. * Read input as specified in the question. Move to a blue/green deployment pattern. Number Pattern 4. I gather you're putting the target image on the same canvas, in a different location? Copyright 2011-2021 www.javatpoint.com. Create a BufferedImage object mimg for mirror image. Pattern 5, Printing Star Right Angled . Menu. By clicking Accept all cookies, you agree Stack Exchange can store cookies on your device and disclose information in accordance with our Cookie Policy. Learn more about bidirectional Unicode characters. ALL RIGHTS RESERVED. 3) j value initialized to 0, 2nd inner while loop prints characterj