OverviewViewportState
@_spi(Experimental)
public final class OverviewViewportState
extension OverviewViewportState: ViewportState
A ViewportState
implementation that shows an overview of the geometry specified by its
geometry
.
Use makeOverviewViewportState(options:)
to create instances of this
class.
-
Configuration options.
When set, the viewport reframes the geometry using the new options and updates its camera with an
ease(to:duration:curve:completion:)
animation with a linear timing curve and duration specified by the new value’sanimationDuration
.Declaration
Swift
public var options: OverviewViewportStateOptions { get set }