-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Florent Mariotti
committed
Feb 25, 2025
1 parent
36e492f
commit 117e0a3
Showing
8 changed files
with
77 additions
and
56 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
30 changes: 30 additions & 0 deletions
30
backend/src/main/java/fr/cgi/magneto/core/constants/MagnetoConstants.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
package fr.cgi.magneto.core.constants; | ||
|
||
public class MagnetoConstants { | ||
// Constantes de mise en page générales | ||
public static final int MARGIN_LEFT = 140; | ||
public static final int MARGIN_TOP_TITLE = 40; | ||
public static final int WIDTH = 1000; | ||
|
||
// Constantes pour les titres | ||
public static final int TITLE_HEIGHT = 70; | ||
public static final Double TITLE_FONT_SIZE = 44.0; | ||
public static final int MAIN_TITLE_HEIGHT = 100; | ||
public static final Double MAIN_TITLE_FONT_SIZE = 100.0; | ||
|
||
// Constantes pour les légendes | ||
public static final int LEGEND_HEIGHT = 70; | ||
public static final int LEGEND_MARGIN_BOTTOM = 20; | ||
public static final Double LEGEND_FONT_SIZE = 16.0; | ||
public static final String LEGEND_FONT_FAMILY = "Roboto"; | ||
|
||
// Constantes pour le contenu | ||
public static final int CONTENT_HEIGHT = 520; | ||
public static final int CONTENT_MARGIN_TOP = 140; | ||
public static final int MAIN_CONTENT_MARGIN_TOP = 300; | ||
public static final Double CONTENT_FONT_SIZE = 36.0; | ||
|
||
// Constantes pour les images | ||
public static final int IMAGE_CONTENT_HEIGHT = 250; | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters