Package eu.bandm.music.top
Class Print_Plan_3d.Configuration
java.lang.Object
eu.bandm.music.top.Print_Plan_3d.Configuration
- Enclosing class:
Print_Plan_3d
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
FieldsModifier and TypeFieldDescriptionThe 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 -
Method Summary
-
Field Details
-
yheight
public int yheightScaling factor from segment list (=line) number in input data to Graphic's coordinates. Defaults to 20. -
perspective_x
public int perspective_xWidth of perspective side wall, in Graphic's coordinates. Defaults to 4. -
perspective_y
public int perspective_yHeight of perspective bottom wall, in Graphic's coordinates. Defaults to 10. -
color_line
The color of all 2d lines (representing counterpoints/subordinated material). Defaults to black. -
linewidth
public int linewidthThe default line width for the 2d lines. Defaults to 2. -
color_front_0
The color of the front of the 3d blocks in modes 0 and 2. Defaults to white. -
color_front_1
The color of the front of the 3d blocks in modes 1 and 3. Defaults to lightGray. -
color_side
The color of the visible right side (visible end) of the 3d blocks. Defaults to lightGray. -
color_down
The color of the visible bottom of the 3d blocks. Defaults to darkGray. -
stroke_1
Fine line used for the box borders. Defaults to BasicStroke(1). -
stroke_2
Thicker line used for zig-zag broken borders. Defaults to BasicStroke(2). -
upperThemes
public int upperThemesHow to draw the 3d modes 2 and 3 compared to modes 0 and 1. -
CROSS_OUT
public static final int CROSS_OUTDraw the 3d modes 2 and 3 by crossing out the front view.- See Also:
-
THICK_BORDER
public static final int THICK_BORDERDraw the 3d modes 2 and 3 by a thicker frame of the front view.- See Also:
-
-
Constructor Details
-
Configuration
public Configuration()
-