Class MatrixImagePainter

  • All Implemented Interfaces:
    com.microej.layout.painters.ImagePainter

    public class MatrixImagePainter
    extends java.lang.Object
    implements com.microej.layout.painters.ImagePainter
    Implementation of ImagePainter using Matrix and TransformedImagePainter.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void drawImage​(ej.microui.display.GraphicsContext gc, ej.microui.display.Image image, int leftMargin, int topMargin, int rightMargin, int bottomMargin, float x, float y, float width, float height, float rx, float ry, float angle, int alpha)  
      • Methods inherited from class java.lang.Object

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

      • INSTANCE

        public static final MatrixImagePainter INSTANCE
        Matrix image painter singleton.
    • Method Detail

      • drawImage

        public void drawImage​(ej.microui.display.GraphicsContext gc,
                              ej.microui.display.Image image,
                              int leftMargin,
                              int topMargin,
                              int rightMargin,
                              int bottomMargin,
                              float x,
                              float y,
                              float width,
                              float height,
                              float rx,
                              float ry,
                              float angle,
                              int alpha)
        Specified by:
        drawImage in interface com.microej.layout.painters.ImagePainter