Contents

scaledBy(x:y:z:)

Returns a rectangle that results from scaling with the specified double-precision values.

Declaration

func scaledBy(x: Double = 1, y: Double = 1, z: Double = 1) -> Rect3D

Parameters

  • x:

    The double-precision value that specifies the scale along the x-dimension.

  • y:

    The double-precision value that specifies the scale along the y-dimension.

  • z:

    The double-precision value that specifies the scale along the z-dimension.

Return Value

The rectangle that results from scaling with the specified double-precision values.

See Also

Transforming a 3D rectangle structure