Class Symbol


  • public class Symbol
    extends Object
    The definition of a symbol that should be rendered at the node position.
    Since:
    10827 Extracted from NodeElement
    • Constructor Detail

      • Symbol

        public Symbol​(SymbolShape symbol,
                      int size,
                      Stroke stroke,
                      Color strokeColor,
                      Color fillColor)
        Create a new symbol
        Parameters:
        symbol - The symbol type
        size - The overall size of the symbol, both width and height are the same
        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.