offsetByTranslation

Creates a new ShapeResource by applying the specified translation.

Return

A new ShapeResource with the translation applied.

Parameters

translation

The translation vector to apply.

Throws

IllegalStateException

If this resource is closed or invalid.