Class Print_Plan_3d.Configuration

java.lang.Object
eu.bandm.music.top.Print_Plan_3d.Configuration
Enclosing class:
Print_Plan_3d

public static class Print_Plan_3d.Configuration extends Object
Collection of configuration values for drawing. Most values are needed only for 3d drawing, but the same instance should be used for both modes.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    The color of the visible bottom of the 3d blocks.
    The color of the front of the 3d blocks in modes 0 and 2.
    The color of the front of the 3d blocks in modes 1 and 3.
    The color of all 2d lines (representing counterpoints/subordinated material).
    The color of the visible right side (visible end) of the 3d blocks.
    static final int
    Draw the 3d modes 2 and 3 by crossing out the front view.
    int
    The default line width for the 2d lines.
    int
    Width of perspective side wall, in Graphic's coordinates.
    int
    Height of perspective bottom wall, in Graphic's coordinates.
    Fine line used for the box borders.
    Thicker line used for zig-zag broken borders.
    static final int
    Draw the 3d modes 2 and 3 by a thicker frame of the front view.
    int
    How to draw the 3d modes 2 and 3 compared to modes 0 and 1.
    int
    Scaling factor from segment list (=line) number in input data to Graphic's coordinates.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • yheight

      public int yheight
      Scaling factor from segment list (=line) number in input data to Graphic's coordinates. Defaults to 20.
    • perspective_x

      public int perspective_x
      Width of perspective side wall, in Graphic's coordinates. Defaults to 4.
    • perspective_y

      public int perspective_y
      Height of perspective bottom wall, in Graphic's coordinates. Defaults to 10.
    • color_line

      public Color color_line
      The color of all 2d lines (representing counterpoints/subordinated material). Defaults to black.
    • linewidth

      public int linewidth
      The default line width for the 2d lines. Defaults to 2.
    • color_front_0

      public Color color_front_0
      The color of the front of the 3d blocks in modes 0 and 2. Defaults to white.
    • color_front_1

      public Color color_front_1
      The color of the front of the 3d blocks in modes 1 and 3. Defaults to lightGray.
    • color_side

      public Color color_side
      The color of the visible right side (visible end) of the 3d blocks. Defaults to lightGray.
    • color_down

      public Color color_down
      The color of the visible bottom of the 3d blocks. Defaults to darkGray.
    • stroke_1

      public Stroke stroke_1
      Fine line used for the box borders. Defaults to BasicStroke(1).
    • stroke_2

      public Stroke stroke_2
      Thicker line used for zig-zag broken borders. Defaults to BasicStroke(2).
    • upperThemes

      public int upperThemes
      How to draw the 3d modes 2 and 3 compared to modes 0 and 1.
    • CROSS_OUT

      public static final int CROSS_OUT
      Draw the 3d modes 2 and 3 by crossing out the front view.
      See Also:
    • THICK_BORDER

      public static final int THICK_BORDER
      Draw the 3d modes 2 and 3 by a thicker frame of the front view.
      See Also:
  • Constructor Details

    • Configuration

      public Configuration()