The functions in this section all operate on the transform
data
member of the Picture
and return a Transform
representing the
transformation—not transform
.
Performs
transform.scale(
x,
y,
z)
and returns the result. This has the effect of scaling all of the elements ofshapes
andlabels
.
Performs
transform.shift(
x,
y,
z)
and returns the result. This has the effect of shifting all of theShapes
andLabels
on thePicture
.
Performs
transform.shift(
p)
and returns the result. This has the effect of shifting all of theShapes
andLabels
on thePicture
by the x, y, and z-coordinates of p.