Class SimpleMarkFactory

java.lang.Object
repast.simphony.gis.styleEditor.SimpleMarkFactory

public class SimpleMarkFactory extends Object
MarkFactory that provides Styled Layer Descriptor (SLD) compatible shapes based on the "well known name" element of the SLD schema.
Author:
Eric Tatara
  • Constructor Details

    • SimpleMarkFactory

      public SimpleMarkFactory()
  • Method Details

    • getWKT_List

      public static String[] getWKT_List()
      Provide a list of all well-know text strings for mark shapes.
      Returns:
      the list of available WKT mark names.
    • getMark

      public Shape getMark(String markName)
      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