Skip to content

Commit

Permalink
Adding name and description to CLabel
Browse files Browse the repository at this point in the history
  • Loading branch information
RobFaustLZ committed Sep 22, 2024
1 parent f514f2f commit 3b574b6
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ plugins {
}

group = 'com.labelzoom.api'
version = '1.2.1'
version = '1.3.0'

java {
sourceCompatibility = JavaVersion.VERSION_1_8
Expand Down
8 changes: 8 additions & 0 deletions src/main/java/com/labelzoom/api/model/components/CLabel.java
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,12 @@
public class CLabel
{
// Fields
@Getter @Setter
private String name;

@Getter @Setter
private String description;

@Getter @Setter
private int width;

Expand Down Expand Up @@ -80,6 +86,8 @@ protected CLabel(final CLabel original, final boolean cloneData)
super();
if (original != null)
{
name = original.getName();
description = original.getDescription();
width = original.getWidth();
height = original.getHeight();
dpi = original.getDpi();
Expand Down

0 comments on commit 3b574b6

Please sign in to comment.