public interface IArrowDecoratorStyle extends IStyle
Modifier and Type | Method and Description |
---|---|
void |
draw(Graphics2D g,
AffineTransform affineTransform,
Geometry geom,
Feature feature)
Draws an arrow(or other symbol that substitutes an arrow selected by the user)
in a line.When the line is drawn, the symbol is added and takes care of the different
options of the user(for example if he wants to flip the first symbol or all and
the number of symbols per line to be drawn)
|
int |
getArrowMarkerCount()
Obtains the number of arrows that the user wants to draw in the same line.
|
IMarkerSymbol |
getMarker() |
boolean |
isFlipAll()
Defines the flipAll attribute.If the value of this attribute is true all the
arrows that we had drawn in the same line will be flipped.
|
boolean |
isFlipFirst()
Obtains the flipFirst attribute.If it is true only the first arrow of the line
will be flipped.The rest will keep the same orientation.
|
boolean |
isFollowLineAngle()
Gets the followLineAngle attribute.This attribute allows the arrow that we are
going to draw to be more or less aligned with the line where it will be included (depending on the angle) .
|
void |
setArrowMarkerCount(int arrowMarkerCount)
Defines the number of arrows that the user wants to draw in the same line.
|
void |
setFlipAll(boolean flipAll)
Obtains the flipAll attribute.If the value of this attribute is true all the
arrows that we had drawn in the same line will be flipped.
|
void |
setFlipFirst(boolean flipFirst)
Sets the flipFirst attribute.If it is true only the first arrow of the line
will be flipped.The rest will keep the same orientation.
|
void |
setFollowLineAngle(boolean followLineAngle)
Sets the followLineAngle attribute.This attribute allows the arrow that we are
going to draw to be more or less aligned with the line where it will be included.
|
void |
setMarker(IMarkerSymbol marker) |
drawInsideRectangle, drawOutline, getDescription, isSuitableFor, setDescription
loadFromState, saveToState
int getArrowMarkerCount()
void setArrowMarkerCount(int arrowMarkerCount)
boolean isFlipAll()
void setFlipAll(boolean flipAll)
boolean isFlipFirst()
void setFlipFirst(boolean flipFirst)
boolean isFollowLineAngle()
void setFollowLineAngle(boolean followLineAngle)
followingLineAngle
- void draw(Graphics2D g, AffineTransform affineTransform, Geometry geom, Feature feature) throws CreateGeometryException
g
- affineTransform
- feature
- shp
- CreateGeometryException
IMarkerSymbol getMarker()
void setMarker(IMarkerSymbol marker)