Example #1
0
 private void ChangeImageScale(float scale)
 {
     (float centerX, float centerY)centerXY = GetCenterXY();
     PannelBackground.Scale(scaleX: scale, scaleY: scale, duration: 400, centerX: centerXY.centerX, centerY: centerXY.centerY).Start();
 }
Example #2
0
 private async Task ChangeImageScaleAsync(float scale)
 {
     (float centerX, float centerY)centerXY = GetCenterXY();
     await PannelBackground.Scale(scaleX : scale, scaleY : scale, duration : 400, centerX : centerXY.centerX, centerY : centerXY.centerY).StartAsync();
 }