Package 

Class Fit.Cover


  • 
    public final class Fit.Cover
    extends Fit
                        

    Preserve aspect ratio and scale the artboard so that its smaller dimension matches the corresponding dimension of the containing view.

    If aspect ratios are not identical, this will clip the artboard on the larger dimension.

    • Method Summary

      Modifier and Type Method Description
      Alignment getAlignment()
      Float getScaleFactor() Default scale factor.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Fit.Cover

        Fit.Cover(Alignment alignment)
        Parameters:
        alignment - The alignment of the artboard within the containing view.