Package repast.simphony.gis.styleEditor
Class SimpleMarkFactory
java.lang.Object
repast.simphony.gis.styleEditor.SimpleMarkFactory
MarkFactory that provides Styled Layer Descriptor (SLD) compatible shapes
based on the "well known name" element of the SLD schema.
- Author:
- Eric Tatara
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionCreates a Shape using the well-known text (WKT) for the mark based on the SLD 1.0 specificationstatic String[]
Provide a list of all well-know text strings for mark shapes.
-
Constructor Details
-
SimpleMarkFactory
public SimpleMarkFactory()
-
-
Method Details
-
getWKT_List
Provide a list of all well-know text strings for mark shapes.- Returns:
- the list of available WKT mark names.
-
getMark
Creates a Shape using the well-known text (WKT) for the mark based on the SLD 1.0 specification- Parameters:
markName
- the well-known mark name ("circle", "square", etc.)- Returns:
- the shape
-