Interface IMarkerFillPropertiesStyle
- All Superinterfaces:
Cloneable,org.gvsig.tools.lang.Cloneable,org.gvsig.fmap.mapcontext.rendering.symbols.styles.IStyle,org.gvsig.tools.persistence.Persistent
public interface IMarkerFillPropertiesStyle
extends org.gvsig.fmap.mapcontext.rendering.symbols.styles.IStyle
IMarkerFillPropertiesStyle is an interface used by classes that are trying to fill a
polygon using marker symbols for that. In order to permit a big mount of possibilities for
the filling, this interface has the options to modify the rotation of the markers that
compose the padding, the x and y offset, the x and y separation,and the style of the fill.
- Author:
- jaume dominguez faus - jaume.dominguez@iver.es
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final int -
Method Summary
Modifier and TypeMethodDescriptionintReturns the style of the fill that use marker symbols to do it(the filled).doubleObtains the rotation of the marker symbol that compose the padding.doubleReturns the x offset of the markers that compose the paddingdoubleReturn the separation (x axis) between the markers that compose the paddingdoubleReturns the y offset of the markers that compose the paddingdoubleReturn the separation (y axis) between the markers that compose the paddingvoidsetFillStyle(int fillStyle) Sets the style for the fill that use marker symbols to do it(the filled).voidsetRotation(double rotation) Sets the rotation of the marker symbol that compose the padding.voidsetSampleSymbol(IMarkerSymbol marker) Defines an utility symbol to show up a thumbnail by default, this symbol is a SimpleMarkerSymbol.voidsetXOffset(double offset) Establishes de x offset of the markers that compose the paddingvoidsetXSeparation(double separation) Sets the separation (x axis) between the markers that compose the paddingvoidsetYOffset(double offset) Establishes the y offset of the markers that compose the paddingvoidsetYSeparation(double separation) Sets the separation (y axis) between the markers that compose the paddingMethods 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
-
Field Details
-
RANDOM_FILL
static final int RANDOM_FILL- See Also:
-
GRID_FILL
static final int GRID_FILL- See Also:
-
SINGLE_CENTERED_SYMBOL
static final int SINGLE_CENTERED_SYMBOL- See Also:
-
-
Method Details
-
setSampleSymbol
Defines an utility symbol to show up a thumbnail by default, this symbol is a SimpleMarkerSymbol. Thus, the drawInsideRectangle will always work. But it can be changed with setSampleSymbol(IMakerSymbol).
If marker is null, it does nothing
-
getRotation
double getRotation()Obtains the rotation of the marker symbol that compose the padding.- Returns:
- the rotation of a marker
-
setRotation
void setRotation(double rotation) Sets the rotation of the marker symbol that compose the padding.- Parameters:
rotation-
-
getXOffset
double getXOffset()Returns the x offset of the markers that compose the padding- Returns:
- xoffset of the marker
-
setXOffset
void setXOffset(double offset) Establishes de x offset of the markers that compose the padding- Parameters:
offset-
-
getXSeparation
double getXSeparation()Return the separation (x axis) between the markers that compose the padding- Returns:
- x separation
-
setXSeparation
void setXSeparation(double separation) Sets the separation (x axis) between the markers that compose the padding- Parameters:
separation-
-
getYOffset
double getYOffset()Returns the y offset of the markers that compose the padding- Returns:
- yoffset of the marker
-
setYOffset
void setYOffset(double offset) Establishes the y offset of the markers that compose the padding- Parameters:
offset-
-
getYSeparation
double getYSeparation()Return the separation (y axis) between the markers that compose the padding- Returns:
- y separation
-
setYSeparation
void setYSeparation(double separation) Sets the separation (y axis) between the markers that compose the padding- Parameters:
separation-
-
setFillStyle
void setFillStyle(int fillStyle) Sets the style for the fill that use marker symbols to do it(the filled).- Parameters:
fillStyle-
-
getFillStyle
int getFillStyle()Returns the style of the fill that use marker symbols to do it(the filled).- Returns:
- int, fill style
-