public class SquareSymbolFactory extends AbstractSymbolFactory
_attributes, _sizeATTRIBUTES_KEY, DEFAULT_SIZE, SIZE_KEY| Constructor and Description |
|---|
SquareSymbolFactory(ConfigParameters config)
Creates an instance from the specified configuration parameters.
|
| Modifier and Type | Method and Description |
|---|---|
protected GraphicalElement |
createPlainSymbol(GraphPoint centerPosition,
double size,
GraphicAttributes attributes)
Creates a
Rectangle. |
createLegendSymbol, createSymbol, createSymbolpublic SquareSymbolFactory(ConfigParameters config)
AbstractSymbolFactory.protected GraphicalElement createPlainSymbol(GraphPoint centerPosition, double size, GraphicAttributes attributes)
Rectangle.createPlainSymbol in class AbstractSymbolFactorycenterPosition - Position of the center of the rectangle.size - Diameter of the rectangle.attributes - Rectangle attributes.Copyright © 2016. All Rights Reserved.