MCQ IN COMPUTER SCIENCE & ENGINEERING

COMPUTER SCIENCE AND ENGINEERING

COMPUTER GRAPHICS

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
The basic attributes of a straight line segment are
A
Type
B
Width
C
Color
D
All of these
Explanation: 

Detailed explanation-1: -Answer: d Explanation: Type, width and colors are the basic attributes of line.

Detailed explanation-2: -The line is one of the major inbuilt functions in computer graphics, This helps to make more interactive & interesting images. There are many inbuilt functions are present. Like there are Circle, Arch, Eclipse, etc.

Detailed explanation-3: -The line and curve attributes include the current position, brush style, brush color, pen style, pen color, transformation, and so on.

Detailed explanation-4: -The Lines attribute specifies the number of lines displayed in a multiline entry field. OpenROAD uses the value of this attribute in combination with the height of the field’s specified font to determine the actual height of the field. The height of the font is multiplied by the number of lines to obtain the height.

Detailed explanation-5: -Explanation: setLineWidthScaleFactor (lw) function can be used to set line-width attribute.

There is 1 question to complete.