Package jcckit.plot
Class SquareSymbolFactory
java.lang.Object
jcckit.plot.AbstractSymbolFactory
jcckit.plot.SquareSymbolFactory
- All Implemented Interfaces:
SymbolFactory
A factory of square symbols.
-
Field Summary
Fields inherited from class jcckit.plot.AbstractSymbolFactory
_attributes, _size
Fields inherited from interface jcckit.plot.SymbolFactory
ATTRIBUTES_KEY, DEFAULT_SIZE, SIZE_KEY
-
Constructor Summary
ConstructorDescriptionSquareSymbolFactory
(ConfigParameters config) Creates an instance from the specified configuration parameters. -
Method Summary
Modifier and TypeMethodDescriptionprotected GraphicalElement
createPlainSymbol
(GraphPoint centerPosition, double size, GraphicAttributes attributes) Creates aRectangle
.Methods inherited from class jcckit.plot.AbstractSymbolFactory
createLegendSymbol, createSymbol, createSymbol
-
Constructor Details
-
SquareSymbolFactory
Creates an instance from the specified configuration parameters. For the configuration parameters see the constructor of the superclassAbstractSymbolFactory
.
-
-
Method Details
-
createPlainSymbol
protected GraphicalElement createPlainSymbol(GraphPoint centerPosition, double size, GraphicAttributes attributes) Creates aRectangle
.- Specified by:
createPlainSymbol
in classAbstractSymbolFactory
- Parameters:
centerPosition
- Position of the center of the rectangle.size
- Diameter of the rectangle.attributes
- Rectangle attributes.
-