mirror of
https://github.com/bancika/diy-layout-creator
synced 2026-11-10 17:22:09 +10:00
bom tweak
anti-aliasing made as configurable item
This commit is contained in:
+1
-5
@@ -8,17 +8,13 @@ import java.awt.Stroke;
|
||||
public class Constants {
|
||||
|
||||
public static final int PIXELS_PER_INCH = 150;//Toolkit.getDefaultToolkit().getScreenResolution();
|
||||
public static int GRIDS_PER_INCH = 8;
|
||||
// public static Size GRID_SIZE = new Size(1d / GRIDS_PER_INCH, SizeUnit.in);
|
||||
// public static final int GRID = 20;
|
||||
|
||||
public static Color CANVAS_COLOR = Color.white;
|
||||
public static Color GRID_COLOR = new Color(240, 240, 240);
|
||||
public static Color CONTROL_POINT_COLOR = Color.black;
|
||||
public static Color SELECTED_CONTROL_POINT_COLOR = Color.blue;
|
||||
public static Color CREATION_POINT_COLOR = Color.decode("#32CD32");
|
||||
|
||||
public static Font LABEL_FONT = new Font("Tahoma", Font.PLAIN, 11);
|
||||
public static Font LABEL_FONT = new Font("Tahoma", Font.PLAIN, 12);
|
||||
|
||||
public static final Stroke BASIC_STROKE = new BasicStroke();
|
||||
public static final Stroke DASHED_STROKE = new BasicStroke(1.0f, BasicStroke.CAP_BUTT,
|
||||
|
||||
Reference in New Issue
Block a user