What happens when you apply multiple transformations to an SVG element in sequence?
A). A) Only the first transformation is applied
B). B) All transformations are applied in sequence, affecting the final appearance of the element
C). C) Transformations cancel each other out, leaving the element unchanged
D). D) The last transformation applied takes precedence over others
How can you adjust the rotation angle of an SVG element incrementally using CSS animations?
A). A) By defining keyframes for gradual angle changes
B). B) By using the rotate property in CSS with an angle value
C). C) By applying a transformation function to the rotation attribute
D). D) By specifying a duration for the rotation transformation
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 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 is rotation applied to SVG elements?
A). A) By adjusting the size of an element uniformly
B). B) By changing an element's position along the X and Y axes
C). C) By rotating an element around a specified point
D). D) By changing the color of an element
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 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 do you scale an SVG element non-uniformly, stretching it along the X and Y axes differently?
A). A) By using the scaleXY transformation with separate X and Y scaling values
B). B) By applying different scaling factors to the X and Y axes
C). C) By using the stretch transformation with X and Y scaling values
D). D) By rotating the element around its center point
How can you combine rotation and scaling transformations on an SVG element?
A). A) <circle cx='50' cy='50' r='30' transform='rotate(45) scale(1.5)' />
B). B) <rect x='20' y='20' width='100' height='50' transform='rotate(45) scale(1.5)' />
C). C) <polygon points='100,20 20,100 180,100' transform='rotate(45) scale(1.5)' />
D). D) <ellipse cx='50' cy='50' rx='50' ry='30' transform='rotate(45) scale(1.5)' />
What is the purpose of combining transformations in SVG?
A). A) To apply multiple effects simultaneously
B). B) To change the color of an element
C). C) To resize an element uniformly along the X and Y axes
D). D) To rotate an element around a specified point