Revision 40789 branches/v02_desarrollo/libraries/sld/temp/org.gvsig.sldsupport.lib.api/src/main/java/org/gvsig/sldsupport/sld/graphic/SLDGraphic.java
SLDGraphic.java | ||
---|---|---|
13 | 13 |
protected SLDExpression size = null; |
14 | 14 |
protected SLDExpression rotation = null; |
15 | 15 |
|
16 |
protected double anchorX = 0; |
|
17 |
protected double anchorY = 0; |
|
18 |
protected double displacementX = 0; |
|
19 |
protected double displacementY = 0; |
|
16 |
protected SLDAnchorPoint anchor = null; |
|
17 |
protected SLDDisplacement displacement = null; |
|
20 | 18 |
|
21 | 19 |
public SLDGraphic() { |
22 | 20 |
|
... | ... | |
46 | 44 |
return this.rotation; |
47 | 45 |
} |
48 | 46 |
|
49 |
public double getAnchorPointX() { |
|
50 |
return this.anchorX; |
|
51 |
} |
|
52 |
|
|
53 |
public double getAnchorPointY() { |
|
54 |
return this.anchorY; |
|
55 |
} |
|
56 |
|
|
57 |
public double getDisplacementX() { |
|
58 |
return this.displacementX; |
|
59 |
} |
|
60 |
|
|
61 |
public double getDisplacementY() { |
|
62 |
return this.displacementY; |
|
63 |
} |
|
64 |
|
|
65 | 47 |
// ==================================== |
66 | 48 |
|
67 | 49 |
public void setOpacity(SLDExpression opa) { |
... | ... | |
75 | 57 |
public void setRotation(SLDExpression rot) { |
76 | 58 |
this.rotation = rot; |
77 | 59 |
} |
78 |
|
|
79 |
public void setAnchorPointX(double ax) { |
|
80 |
this.anchorX = ax; |
|
60 |
|
|
61 |
|
|
62 |
public SLDAnchorPoint getAnchor() { |
|
63 |
return anchor; |
|
81 | 64 |
} |
82 |
|
|
83 |
public void setAnchorPointY(double ay) { |
|
84 |
this.anchorY = ay; |
|
65 |
|
|
66 |
|
|
67 |
public void setAnchor(SLDAnchorPoint anchor) { |
|
68 |
this.anchor = anchor; |
|
85 | 69 |
} |
86 |
|
|
87 |
public void setDisplacementX(double dx) { |
|
88 |
this.displacementX = dx; |
|
70 |
|
|
71 |
|
|
72 |
public SLDDisplacement getDisplacement() { |
|
73 |
return displacement; |
|
89 | 74 |
} |
90 |
|
|
91 |
public void setDisplacementY(double dy) { |
|
92 |
this.displacementY = dy; |
|
75 |
|
|
76 |
|
|
77 |
public void setDisplacement(SLDDisplacement displacement) { |
|
78 |
this.displacement = displacement; |
|
93 | 79 |
} |
94 | 80 |
|
81 |
|
|
95 | 82 |
} |
Also available in: Unified diff