Enum Class PaperSize

java.lang.Object
java.lang.Enum<PaperSize>
com.structurizr.view.PaperSize
All Implemented Interfaces:
Serializable, Comparable<PaperSize>, Constable

public enum PaperSize extends Enum<PaperSize>
These represent paper sizes in pixels at 300dpi.
  • Enum Constant Details

    • A6_Portrait

      public static final PaperSize A6_Portrait
    • A6_Landscape

      public static final PaperSize A6_Landscape
    • A5_Portrait

      public static final PaperSize A5_Portrait
    • A5_Landscape

      public static final PaperSize A5_Landscape
    • A4_Portrait

      public static final PaperSize A4_Portrait
    • A4_Landscape

      public static final PaperSize A4_Landscape
    • A3_Portrait

      public static final PaperSize A3_Portrait
    • A3_Landscape

      public static final PaperSize A3_Landscape
    • A2_Portrait

      public static final PaperSize A2_Portrait
    • A2_Landscape

      public static final PaperSize A2_Landscape
    • A1_Portrait

      public static final PaperSize A1_Portrait
    • A1_Landscape

      public static final PaperSize A1_Landscape
    • A0_Portrait

      public static final PaperSize A0_Portrait
    • A0_Landscape

      public static final PaperSize A0_Landscape
    • Letter_Portrait

      public static final PaperSize Letter_Portrait
    • Letter_Landscape

      public static final PaperSize Letter_Landscape
    • Slide_4_3

      public static final PaperSize Slide_4_3
    • Slide_16_9

      public static final PaperSize Slide_16_9
    • Slide_16_10

      public static final PaperSize Slide_16_10
  • Method Details

    • values

      public static PaperSize[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static PaperSize valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • getName

      public String getName()
    • getOrientation

      public PaperSize.Orientation getOrientation()
    • getWidth

      public int getWidth()
    • getHeight

      public int getHeight()
    • getOrderedPaperSizes

      public static List<PaperSize> getOrderedPaperSizes()
    • getOrderedPaperSizes

      public static List<PaperSize> getOrderedPaperSizes(PaperSize.Orientation orientation)