レベル 28) 以降で利用できます。 Box( Modifier .magnifier( sourceCenter = { magnifierCenter }, zoom = 2.5f ) .pointerInput(Unit) { detectDragGestures( onDragStart = { magnifierCenter = it }, onDrag = { _, delta -> magnifierCenter += delta }, onDragEnd = { magnifierCenter = Offset.Unspecified }, onDragCancel = { magnifierCenter = Offset.Unspecified } )} .drawBehind { for (diameter in 2 until size.maxDimension.toInt() step 10) { drawCircle( color = Color.Black, radius = diameter / 2f, style = Stroke() )}}) Other