mirror of
https://github.com/bancika/diy-layout-creator
synced 2026-11-07 12:24:58 +10:00
Update AbstractMakerBoard.java
This commit is contained in:
@@ -954,17 +954,6 @@ public abstract class AbstractMakerBoard extends AbstractTransparentComponent<Vo
|
||||
g2d.fill(new Ellipse2D.Double(x + (w - actuatorD) / 2.0, y + (h - actuatorD) / 2.0, actuatorD, actuatorD));
|
||||
}
|
||||
|
||||
/**
|
||||
* Helper to draw a standard SMD tactile push button with default 3.5mm x 3.0mm dimensions.
|
||||
*
|
||||
* @param g2d Graphics2D context
|
||||
* @param x Top-left X coordinate of the button body
|
||||
* @param y Top-left Y coordinate of the button body
|
||||
*/
|
||||
protected void drawButton(Graphics2D g2d, double x, double y) {
|
||||
drawButton(g2d, x, y, BUTTON_WIDTH.convertToPixels(), BUTTON_LENGTH.convertToPixels());
|
||||
}
|
||||
|
||||
/**
|
||||
* Helper to get outline border color.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user