Skip to content

Commit 9fefdc2

Browse files
committed
imageZone annotated
1 parent 2e4c8b2 commit 9fefdc2

File tree

1 file changed

+8
-0
lines changed
  • logicaldoc-core/src/main/java/com/logicaldoc/core/imaging

1 file changed

+8
-0
lines changed

logicaldoc-core/src/main/java/com/logicaldoc/core/imaging/ImageZone.java

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,39 @@
11
package com.logicaldoc.core.imaging;
22

3+
import javax.persistence.Column;
4+
import javax.persistence.MappedSuperclass;
5+
36
/**
47
* A zone specification inside an image.
58
*
69
* @author Marco Meschieri - LogicalDOC
710
* @since 8.4.2
811
*/
12+
@MappedSuperclass
913
public class ImageZone {
1014

1115
/**
1216
* Upper-left corner of the zone (percentage of the width 0..1)
1317
*/
18+
@Column(name = "ld_left")
1419
private Double left = 0.0;
1520

1621
/**
1722
* Upper-left corner of the zone (percentage of the height 0..1)
1823
*/
24+
@Column(name = "ld_top")
1925
private Double top = 0.0;
2026

2127
/**
2228
* Width of the zone (percentage of the width 0..1)
2329
*/
30+
@Column(name = "ld_width")
2431
private Double width = 0.15;
2532

2633
/**
2734
* Height of the zone (percentage of the height 0..1)
2835
*/
36+
@Column(name = "ld_height")
2937
private Double height = 0.10;
3038

3139
public ImageZone() {

0 commit comments

Comments
 (0)