SameAsLayoutBounds

The default value of ZoomableContentLocation, intended to be used for content that fills every pixel of its layout size.

For richer content such as images whose visual size may not always match its layout size, you should provide a different value using ZoomableState.setContentLocation.

Functions

Link copied to clipboard
open override fun location(layoutSize: Size, direction: LayoutDirection): Rect
Link copied to clipboard
open override fun size(layoutSize: Size): Size