mirror of
https://github.com/bancika/diy-layout-creator
synced 2026-11-10 09:12:09 +10:00
"PCB Text" components are not included in trace mask exports
This commit is contained in:
@@ -31,6 +31,7 @@ import java.awt.geom.Rectangle2D;
|
||||
|
||||
import org.diylc.common.HorizontalAlignment;
|
||||
import org.diylc.common.Orientation;
|
||||
import org.diylc.common.PCBLayer;
|
||||
import org.diylc.common.VerticalAlignment;
|
||||
import org.diylc.components.AbstractComponent;
|
||||
import org.diylc.components.transform.TextTransformer;
|
||||
@@ -60,7 +61,9 @@ public class PCBText extends AbstractComponent<Void> {
|
||||
private Color color = LABEL_COLOR;
|
||||
private HorizontalAlignment horizontalAlignment = HorizontalAlignment.CENTER;
|
||||
private VerticalAlignment verticalAlignment = VerticalAlignment.CENTER;
|
||||
private Orientation orientation = Orientation.DEFAULT;
|
||||
private Orientation orientation = Orientation.DEFAULT;
|
||||
|
||||
private PCBLayer layer = PCBLayer._1;
|
||||
|
||||
@SuppressWarnings("incomplete-switch")
|
||||
@Override
|
||||
@@ -261,7 +264,7 @@ public class PCBText extends AbstractComponent<Void> {
|
||||
this.color = color;
|
||||
}
|
||||
|
||||
@EditableProperty(name = "Vertical alignment")
|
||||
@EditableProperty(name = "Vertical Alignment")
|
||||
public VerticalAlignment getVerticalAlignment() {
|
||||
if (verticalAlignment == null) {
|
||||
verticalAlignment = VerticalAlignment.CENTER;
|
||||
@@ -273,7 +276,7 @@ public class PCBText extends AbstractComponent<Void> {
|
||||
this.verticalAlignment = verticalAlignment;
|
||||
}
|
||||
|
||||
@EditableProperty(name = "Horizontal alignment")
|
||||
@EditableProperty(name = "Horizontal Alignment")
|
||||
public HorizontalAlignment getHorizontalAlignment() {
|
||||
if (horizontalAlignment == null) {
|
||||
horizontalAlignment = HorizontalAlignment.CENTER;
|
||||
@@ -283,6 +286,18 @@ public class PCBText extends AbstractComponent<Void> {
|
||||
|
||||
public void setHorizontalAlignment(HorizontalAlignment alignment) {
|
||||
this.horizontalAlignment = alignment;
|
||||
}
|
||||
|
||||
@EditableProperty
|
||||
public PCBLayer getLayer() {
|
||||
if (layer == null) {
|
||||
layer = PCBLayer._1;
|
||||
}
|
||||
return layer;
|
||||
}
|
||||
|
||||
public void setLayer(PCBLayer layer) {
|
||||
this.layer = layer;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Binary file not shown.
@@ -2348,6 +2348,22 @@
|
||||
</org.diylc.appframework.update.Change>
|
||||
</changes>
|
||||
<url>https://github.com/bancika/diy-layout-creator/releases</url>
|
||||
</org.diylc.appframework.update.Version>
|
||||
<org.diylc.appframework.update.Version>
|
||||
<versionNumber>
|
||||
<major>3</major>
|
||||
<minor>52</minor>
|
||||
<build>0</build>
|
||||
</versionNumber>
|
||||
<releaseDate>2019-01-28 00:00:00.000 CET</releaseDate>
|
||||
<name></name>
|
||||
<changes>
|
||||
<org.diylc.appframework.update.Change>
|
||||
<changeType>BUG_FIX</changeType>
|
||||
<description>"PCB Text" components are not included in trace mask exports</description>
|
||||
</org.diylc.appframework.update.Change>
|
||||
</changes>
|
||||
<url>https://github.com/bancika/diy-layout-creator/releases</url>
|
||||
</org.diylc.appframework.update.Version>
|
||||
</a>
|
||||
</java.util.Arrays_-ArrayList>
|
||||
|
||||
Reference in New Issue
Block a user