Contents

hoverEffect

The kind for hover effects.

Declaration

static let hoverEffect: ContentShapeKinds

Discussion

When using this kind, only the preview shape is affected. To control the shape used to hit-test and start the effect, use the interaction kind.

On tvOS, this is used to define the shape of any hover effect applied to focusable and hoverable controls, for example button border or clipping shapes.

This kind does not affect the onHover modifier.

See Also

Getting shape kinds