Package magick

Class Magick

    • Constructor Summary

      Constructors 
      Constructor Description
      Magick()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static int parseImageGeometry​(java.lang.String geometry, java.awt.Rectangle rect)
      Parses a geometry specification and returns the width, height, x, and y values in the rectangle.
      static java.lang.String[] queryFonts​(java.lang.String pattern)
      Gets an array of the names of the fonts that ImageMagick has that match the pattern
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Magick

        public Magick()
    • Method Detail

      • parseImageGeometry

        public static int parseImageGeometry​(java.lang.String geometry,
                                             java.awt.Rectangle rect)
        Parses a geometry specification and returns the width, height, x, and y values in the rectangle. It also returns flags that indicates which of the four values (width, height, xoffset, yoffset) were located in the string, and whether the x and y values are negative. In addition, there are flags to report any meta characters (%, !, <, and >).
        Parameters:
        geometry - String containing the geometry specifications
        rect - The rectangle of values x, y, width and height
        Returns:
        bitmask indicating the values in the geometry string
        See Also:
        GeometryFlags
      • queryFonts

        public static java.lang.String[] queryFonts​(java.lang.String pattern)
        Gets an array of the names of the fonts that ImageMagick has that match the pattern
        Parameters:
        pattern - The query pattern
        Returns:
        array of font names.