Package 

Class Fit.Layout


  • 
    public final class Fit.Layout
    extends Fit
                        

    Invokes the Rive layout engine to apply responsive layout to the artboard. This assumes that the artboard was designed with layouts in mind.

    • Constructor Summary

      Constructors 
      Constructor Description
      Fit.Layout(Float scaleFactor)
    • Method Summary

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

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

      • Fit.Layout

        Fit.Layout(Float scaleFactor)
        Parameters:
        scaleFactor - A multiplier to apply to the size of the laid out contents to fine-tune their presentation.