|
|
|
@ -52,7 +52,7 @@ public class PolyBoundsGroup implements GroupModel {
|
|
|
|
|
@Override |
|
|
|
|
public Object getValue(int row, int column) { |
|
|
|
|
UnitRectangle ur = block.getBounds(); |
|
|
|
|
Rectangle r = ur.toRectangle(resolution); |
|
|
|
|
Rectangle r = ur.toRoundRectangle(resolution); |
|
|
|
|
if (column == 0) { |
|
|
|
|
switch (row) { |
|
|
|
|
case 0: |
|
|
|
@ -83,7 +83,7 @@ public class PolyBoundsGroup implements GroupModel {
|
|
|
|
|
if (column == 1) { |
|
|
|
|
int v = value == null ? 0 : ((Number) value).intValue(); |
|
|
|
|
UnitRectangle ur = block.getBounds(); |
|
|
|
|
Rectangle r = ur.toRectangle(resolution); |
|
|
|
|
Rectangle r = ur.toRoundRectangle(resolution); |
|
|
|
|
switch (row) { |
|
|
|
|
case 0: |
|
|
|
|
r.x = v; |
|
|
|
|