What effect does combining rotation and translation transformations have on an SVG element?
A). A) It rotates the element around a specific point other than its center
B). B) It moves the element along the X and Y axes simultaneously
C). C) It tilts the element along the X or Y axis
D). D) It resizes the element uniformly along the X and Y axes
How do you rotate an SVG element around a specific point other than its center?
A). A) By using the rotate transformation with the desired angle
B). B) By specifying the rotation angle in degrees
C). C) By adding the point coordinates to the rotate transformation
D). D) By translating the element to the desired point before rotating
How can you combine multiple transformations on an SVG element using CSS?
A). A) By stacking transformation functions in the transform property
B). B) By using separate CSS properties for each transformation
C). C) By defining multiple transform attributes for the element
D). D) By applying a transition effect to each transformation
How can you undo or reverse a transformation on an SVG element?
A). A) By removing the transform attribute
B). B) By setting the transformation values to their original state
C). C) By applying the opposite transformation effect
D). D) By using the reverse function in the transform attribute
How is skewing applied to SVG elements?
A). A) By tilting an element along the X or Y axis
B). B) By translating an element along the X and Y axes
C). C) By resizing an element uniformly along the X and Y axes
D). D) By rotating an element around a specified point
How do you translate an SVG element 50 units to the right and 20 units down?
A). A) <rect x='20' y='20' width='100' height='50' transform='translate(50, 20)' />
B). B) <circle cx='50' cy='50' r='30' transform='translate(50, 20)' />
C). C) <ellipse cx='50' cy='50' rx='50' ry='30' transform='translate(50, 20)' />
D). D) <line x1='20' y1='20' x2='100' y2='100' transform='translate(50, 20)' />
How can you resize an SVG element to be twice its original size uniformly?
A). A) <rect x='20' y='20' width='100' height='50' transform='scale(2)' />
B). B) <circle cx='50' cy='50' r='30' transform='scale(2)' />
C). C) <line x1='20' y1='20' x2='100' y2='100' transform='scale(2)' />
D). D) <path d='M20,20 L100,100' transform='scale(2)' />
What does scaling do in SVG transformations?
A). A) It rotates an SVG element
B). B) It resizes an SVG element uniformly along the X and Y axes
C). C) It skews an SVG element along the X or Y axis
D). D) It translates an SVG element along the X and Y axes
What effect does skewing have on an SVG element?
A). A) It changes an element's position along the X and Y axes
B). B) It tilts an element along the X or Y axis
C). C) It rotates an element around a specified point
D). D) It resizes an element uniformly along the X and Y axes
What is the purpose of the transform-origin property in CSS for SVG elements?
A). A) It sets the initial position of an SVG element
B). B) It defines the transformation origin point
C). C) It specifies the color of an SVG element
D). D) It determines the fill pattern for an SVG element