Class ScaleMaxWidthAndHeight

java.lang.Object
net.sourceforge.plantuml.ScaleMaxWidthAndHeight
All Implemented Interfaces:
Scale

public class ScaleMaxWidthAndHeight extends Object implements Scale
  • Constructor Details

    • ScaleMaxWidthAndHeight

      public ScaleMaxWidthAndHeight(double maxWidth, double maxHeight)
  • Method Details

    • getScaleInternal

      public double getScaleInternal(double width, double height)
    • getScale

      public final double getScale(double width, double height)
      Specified by:
      getScale in interface Scale