Use app×
Join Bloom Tuition
One on One Online Tuition
JEE MAIN 2025 Foundation Course
NEET 2025 Foundation Course
CLASS 12 FOUNDATION COURSE
CLASS 10 FOUNDATION COURSE
CLASS 9 FOUNDATION COURSE
CLASS 8 FOUNDATION COURSE
0 votes
108 views
in Programming by (72.7k points)
closed by
In context of Java Graphics, a geometric object can be titled horizontally using the following?
1. scale ()
2. translate ()
3. rotate ()
4. shear ()

1 Answer

0 votes
by (121k points)
selected by
 
Best answer
Correct Answer - Option 4 : shear ()

Shearing is a kind of transformation which changes the slope of the object with respect to any of the axis. There are two Shear transformations that are X-shear and Y-shear. The X-shear transformation changes the X-coordinate values while the Y-shear changes the Y-coordinate values.

Scaling is a kind of transformation which is used to change the size of the object. It can either expand the size or compress the size of the object. The size can be altered by multiplying the coordinates of the object by a factor which is called scale factor. 

Rotation can be defined as the process of rotating an object by a certain angle θ (theta). 

Translation can be defined as change in the position of an object on the screen. The position of an object gets changed by moving it along the X-Y direction. 

Therefore Option 4 is correct

Welcome to Sarthaks eConnect: A unique platform where students can interact with teachers/experts/students to get solutions to their queries. Students (upto class 10+2) preparing for All Government Exams, CBSE Board Exam, ICSE Board Exam, State Board Exam, JEE (Mains+Advance) and NEET can ask questions from any subject and get quick answers by subject teachers/ experts/mentors/students.

Categories

...