public class SquareSymbolFactory extends AbstractSymbolFactory
_attributes, _size
ATTRIBUTES_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, createSymbol
public SquareSymbolFactory(ConfigParameters config)
AbstractSymbolFactory
.protected GraphicalElement createPlainSymbol(GraphPoint centerPosition, double size, GraphicAttributes attributes)
Rectangle
.createPlainSymbol
in class AbstractSymbolFactory
centerPosition
- Position of the center of the rectangle.size
- Diameter of the rectangle.attributes
- Rectangle attributes.Copyright © 2017. All Rights Reserved.