示例#1
0
        public static void UpdateAnchorX(this AView platformView, IView view)
        {
            if (platformView.Context == null)
            {
                return;
            }

            var pivotX = (float)(view.AnchorX * platformView.Context.ToPixels(view.Frame.Width));

            PlatformInterop.SetPivotXIfNeeded(platformView, pivotX);
        }