Class DecoratedShape

All Implemented Interfaces:
Deletable, JoltNative
Direct Known Subclasses:
OffsetCenterOfMassShape, RotatedTranslatedShape, ScaledShape

public sealed class DecoratedShape extends Shape permits ScaledShape, RotatedTranslatedShape, OffsetCenterOfMassShape
DecoratedShape relies on preview features of the Java platform:
  • DecoratedShape refers to one or more preview APIs: MemoryAddress.
Programs can only use DecoratedShape when preview features are enabled.
Preview features may be removed in a future release, or upgraded to permanent features of the Java platform.