Interface ILineStyle
- All Superinterfaces:
Cloneable,org.gvsig.tools.lang.Cloneable,org.gvsig.fmap.mapcontext.rendering.symbols.styles.IStyle,org.gvsig.tools.persistence.Persistent
- All Known Subinterfaces:
ISimpleLineStyle
public interface ILineStyle
extends org.gvsig.fmap.mapcontext.rendering.symbols.styles.IStyle
Interface that controls the properties that define the style of a line.This
properties are the width, stroke, offset and arrow decorator style( for
example if the line includes markers as an arrow to specify an orientation).
- Author:
- jaume dominguez faus - jaume.dominguez@iver.es
-
Method Summary
Modifier and TypeMethodDescriptionGets the arrow decorator style that has the linedoublefloatReturns the width of the linedoubleReturns the offset of the lineReturns the stroke of the linevoidsetArrowDecorator(IArrowDecoratorStyle arrowDecoratorStyle) Sets the arrow decorator style of the linevoidsetLineWidth(float width) Establishes the width of the linevoidsetOffset(double offset) Establishes the offset of the linevoidSets the stroke of the lineMethods inherited from interface org.gvsig.tools.lang.Cloneable
cloneMethods inherited from interface org.gvsig.fmap.mapcontext.rendering.symbols.styles.IStyle
drawInsideRectangle, drawOutline, getDescription, isSuitableFor, setDescriptionMethods inherited from interface org.gvsig.tools.persistence.Persistent
loadFromState, saveToState
-
Method Details
-
getLineWidth
float getLineWidth()Returns the width of the line- Returns:
-
setLineWidth
void setLineWidth(float width) Establishes the width of the line- Parameters:
width- of the line
-
getStroke
Stroke getStroke()Returns the stroke of the line- Returns:
- Stroke of the line
-
setStroke
Sets the stroke of the line- Parameters:
stroke- ,stroke to be established
-
getArrowDecorator
IArrowDecoratorStyle getArrowDecorator()Gets the arrow decorator style that has the line- Returns:
- ArrowDecoratorStyle
-
setArrowDecorator
Sets the arrow decorator style of the line- Parameters:
arrowDecoratorStyle- , ArrowDecoratorStyle
-
getOffset
double getOffset()Returns the offset of the line- Returns:
-
setOffset
void setOffset(double offset) Establishes the offset of the line- Parameters:
offset-
-
getCartographicStroke
Stroke getCartographicStroke() -
getCartographicOffset
double getCartographicOffset()
-