Contents

scaledBy(x:y:z:)

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

Declaration

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

Parameters

  • x:

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

  • y:

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

  • z:

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

Return Value

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