Contents

inset(by:)

Returns a new rectangle with the same center point after applying the specified inset amount.

Declaration

func inset(by dXYZ: Size3D) -> Rect3D

Parameters

  • dXYZ:

    The size structure that defines the inset values.

Return Value

A new rectangle with the same center point after applying the specified inset amount.

See Also

Creating derived 3D rectangles