Packages

 

com.aspose.imaging.fileformats.metafile

Interface GraphicObjectConverter



  • public interface GraphicObjectConverter
    The callback interface used to convert nonstandard java graphical objects to the Windows GDI counterparts.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method and Description
      com.aspose.imaging.fileformats.metafile.Rop2 compositeToRop(Composite composite)
      Converts a Composite object to the GDI raster operation.
      com.aspose.imaging.fileformats.metafile.BrushInfo paintToBrush(Paint paint)
      Converts a Paint object to the GDI brush.
      com.aspose.imaging.fileformats.metafile.PenInfo strokeToPen(Stroke stroke)
      Converts a Stroke object to the GDI pen.
    • Method Detail

      • compositeToRop

        com.aspose.imaging.fileformats.metafile.Rop2 compositeToRop(Composite composite)
        Converts a Composite object to the GDI raster operation.
        Parameters:
        composite - composite to convert.
        Returns:
        Rop2 object or null in case of inconversible Composite.
      • strokeToPen

        com.aspose.imaging.fileformats.metafile.PenInfo strokeToPen(Stroke stroke)
        Converts a Stroke object to the GDI pen.
        Parameters:
        stroke - Stroke to convert.
        Returns:
        PenInfo object describing pen's shape or null in case of inconversible Stroke.
      • paintToBrush

        com.aspose.imaging.fileformats.metafile.BrushInfo paintToBrush(Paint paint)
        Converts a Paint object to the GDI brush.
        Parameters:
        paint - Paint to convert.
        Returns:
        BrushInfo object describing fill.