inset(by:)
Returns a new rectangle with the same center point after applying the specified inset amount.
Declaration
func inset(by dXYZ: Size3D) -> Rect3DParameters
- 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.