Class Transforms

java.lang.Object
dev.avelar.mapnik.Transforms

public final class Transforms extends Object
Checks for the SVG-style transforms used by the geometry-transform and image-transform attributes, such as translate(10,20) rotate(45) scale(2).
  • Method Details

    • check

      public static void check(String transform)
      Throws MapnikException with Mapnik's message if transform does not parse.
    • isValid

      public static boolean isValid(String transform)
      True if transform parses.