HarmonyOS NEXT Practical: Image Magnification and Reduction
Goal: Use two fingers to pinch and zoom in and out of the imageKnowledge points:
PinchGesture is used to trigger a pinch gesture, with a minimum of 2 fingers and a maximum of 5 fingers, and a minimum recognition distance of 5vp.
interface
⛶PinchGesture(value?:{fingers?:number, distance?:number})Th...
? https://www.roastdev.com/post/....harmonyos-next-pract
#news #tech #development