halfScreen method
PosSizeModel
halfScreen()
Implementation
PosSizeModel halfScreen() {
return PosSizeModel(
widthPortrait: 1,
widthTypePortrait: WidthTypePortrait.percentageWidth,
heightPortrait: .5,
heightTypePortrait: HeightTypePortrait.percentageHeight,
fitPortrait: PortraitFitType.portraitFitWidth,
alignTypePortrait: PortraitAlignType.portraitAlignCenter,
widthLandscape: 1,
widthTypeLandscape: WidthTypeLandscape.percentageWidth,
heightLandscape: .5,
heightTypeLandscape: HeightTypeLandscape.percentageHeight,
fitLandscape: LandscapeFitType.landscapeFitHeight,
alignTypeLandscape: LandscapeAlignType.landscapeAlignCenter,
clip: ClipType.noClip);
}