Revision 12991
trunk/libraries/libFMap/src/com/iver/cit/gvsig/fmap/core/symbols/SimpleLineSymbol.java | ||
---|---|---|
43 | 43 |
* |
44 | 44 |
* $Id$ |
45 | 45 |
* $Log$ |
46 |
* Revision 1.12 2007-07-23 06:52:55 jaume |
|
46 |
* Revision 1.13 2007-08-09 07:38:32 jvidal |
|
47 |
* javadoc |
|
48 |
* |
|
49 |
* Revision 1.12 2007/07/23 06:52:55 jaume |
|
47 | 50 |
* Added support for arrow line decorator (start commiting) |
48 | 51 |
* |
49 | 52 |
* Revision 1.11 2007/07/18 06:54:35 jaume |
... | ... | |
116 | 119 |
import com.iver.utiles.XMLEntity; |
117 | 120 |
|
118 | 121 |
/** |
122 |
* SimpleLineSymbol is the most basic symbol for the representation of lineal objects. |
|
123 |
* Allows to define the width of the line, the color and the drawn pattern. |
|
124 |
* |
|
119 | 125 |
* @author jaume dominguez faus - jaume.dominguez@iver.es |
120 | 126 |
*/ |
121 | 127 |
public class SimpleLineSymbol extends AbstractLineSymbol { |
... | ... | |
136 | 142 |
g.setColor(getColor()); |
137 | 143 |
g.draw(shp); |
138 | 144 |
ArrowDecoratorStyle arrowDecorator = getLineStyle().getArrowDecorator(); |
139 |
|
|
145 |
|
|
140 | 146 |
if (arrowDecorator != null) |
141 | 147 |
arrowDecorator.draw(g, affineTransform, shp); |
142 | 148 |
} |
Also available in: Unified diff