Class Polygon

java.lang.Object
org.wicketstuff.html5.shape.AbstractShape
org.wicketstuff.html5.shape.Polygon
All Implemented Interfaces:
Shape

public class Polygon extends AbstractShape
Creates a polygon shape
Author:
Tobias Soloschenko
  • Constructor Details

    • Polygon

      public Polygon(String... keyValuePairs)
      Creates a polygon shape.
      Parameters:
      keyValuePairs - the key value pairs (x1,y1,x2,y2,x3,y3,..) - the number must be even and there has to be at least 3 pairs
  • Method Details

    • getName

      public String getName()
    • getValues

      public String getValues()