AcManager.Pages.Dialogs.ImageEditor.CropModel.CenterAndFit C# (CSharp) Метод

CenterAndFit() публичный Метод

public CenterAndFit ( ) : void
Результат void
            public void CenterAndFit() {
                ImageWidth = MaxWidth;
                ImageHeight = MaxHeight;
                OffsetX = (TotalWidth - ImageWidth) / 2;
                OffsetY = (TotalHeight - ImageHeight) / 2;
            }