Class Symbol
java.lang.Object
org.openstreetmap.josm.gui.mappaint.styleelement.Symbol
The definition of a symbol that should be rendered at the node position.
- Since:
- 10827 Extracted from
NodeElement
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal ColorThe color to fill the interior of the shape.final intThe width and height of this symbolfinal StrokeThe stroke to use for the outlinefinal ColorThe color to draw the stroke withprivate final SymbolShape -
Constructor Summary
ConstructorsConstructorDescriptionSymbol(SymbolShape symbol, int size, Stroke stroke, Color strokeColor, Color fillColor) Create a new symbol -
Method Summary
-
Field Details
-
symbolShape
-
size
The width and height of this symbol -
stroke
The stroke to use for the outline -
strokeColor
The color to draw the stroke with -
fillColor
The color to fill the interior of the shape.
-
-
Constructor Details
-
Symbol
Create a new symbol- Parameters:
symbol- The symbol typesize- The overall size of the symbol, both width and height are the samestroke- The stroke to use for the outlinestrokeColor- The color to draw the stroke withfillColor- The color to fill the interior of the shape.
-
-
Method Details