Class StreetFountain3
java.lang.Object
com.kheops.jmap.client.render.symbols.Symbol
com.kheops.jmap.client.render.symbols.VectorSymbol
com.kheops.jmap.client.render.symbols.SimpleSymbol
com.kheops.jmap.client.render.symbols.StreetFountain3
- All Implemented Interfaces:
Serializable
,Cloneable
- See Also:
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionclone()
Returns a cloned instance of the current symbol.void
draw
(Graphics2D g2d, int x, int y, float scaleFactor, double angle, Color fillColor, Color lineColor, boolean propLineThickness) Draws the current symbol using the specified parameters at the specified DC location.getBounds
(int x, int y, float scaleFactor) protected int[]
getListX()
protected int[]
getListY()
Methods inherited from class com.kheops.jmap.client.render.symbols.SimpleSymbol
draw, toSvg
-
Constructor Details
-
StreetFountain3
public StreetFountain3()
-
-
Method Details
-
getListX
protected int[] getListX()- Specified by:
getListX
in classSimpleSymbol
-
getListY
protected int[] getListY()- Specified by:
getListY
in classSimpleSymbol
-
draw
public void draw(Graphics2D g2d, int x, int y, float scaleFactor, double angle, Color fillColor, Color lineColor, boolean propLineThickness) Description copied from class:Symbol
Draws the current symbol using the specified parameters at the specified DC location.- Overrides:
draw
in classSimpleSymbol
- Parameters:
g2d
- the graphicsx
- the x-coordinatey
- the y-coordinatescaleFactor
- the scale factor to draw the symbolangle
- in radian, the angle used to get the symbol orientationfillColor
- the fill color. If null is specified, only the border with be drawn.lineColor
- the line colorpropLineThickness
- if you want to get a symbol with a proportional line thickness
-
getBounds
- Overrides:
getBounds
in classSimpleSymbol
-
clone
Description copied from class:Symbol
Returns a cloned instance of the current symbol.
-