Package 

Class Fit.FitWidth


  • 
    public final class Fit.FitWidth
    extends Fit
                        

    Preserve aspect ratio and scale the artboard width to match the containing view's width.

    If the aspect ratios between the artboard and containing view do not match, this will result in either vertical clipping or space in the vertical axis.

    • Constructor Detail

      • Fit.FitWidth

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