Class CircleInTriangle
java.lang.Object
com.kheops.jmap.client.render.symbols.Symbol
com.kheops.jmap.client.render.symbols.VectorSymbol
com.kheops.jmap.client.render.symbols.CircleInTriangle
- All Implemented Interfaces:
Serializable,Cloneable
- See Also:
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()Returns a cloned instance of the current symbol.voiddraw(Graphics2D g2d, int x, int y, float scaleFactor, double angle, Color fillColor, Color borderColor, boolean propLineThickness) Draws the current symbol using the specified parameters at the specified DC location.voiddraw(Graphics2D g2d, int x, int y, float scaleFactor, double angle, Color fillColor, Color borderColor, float borderThickness) Draws the current symbol using the specified parameters at the specified DC location.getBounds(int x, int y, float scaleFactor) Methods inherited from class com.kheops.jmap.client.render.symbols.VectorSymbol
toSvg
-
Constructor Details
-
CircleInTriangle
public CircleInTriangle()
-
-
Method Details
-
draw
public void draw(Graphics2D g2d, int x, int y, float scaleFactor, double angle, Color fillColor, Color borderColor, boolean propLineThickness) Description copied from class:SymbolDraws the current symbol using the specified parameters at the specified DC location.- Specified by:
drawin classSymbol- 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.borderColor- the line colorpropLineThickness- if you want to get a symbol with a proportional line thickness
-
draw
public void draw(Graphics2D g2d, int x, int y, float scaleFactor, double angle, Color fillColor, Color borderColor, float borderThickness) Description copied from class:SymbolDraws the current symbol using the specified parameters at the specified DC location.- Overrides:
drawin classSymbol- 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.borderColor- the line colorborderThickness- the vector symbol border thickness
-
getBounds
-
clone
Description copied from class:SymbolReturns a cloned instance of the current symbol.
-