Class CwtSwtImage

    • Field Summary

      Fields 
      Modifier and Type Field Description
      static boolean IS_GTK  
    • Constructor Summary

      Constructors 
      Constructor Description
      CwtSwtImage​(org.eclipse.swt.graphics.ImageData imageData)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected org.eclipse.swt.graphics.Image createSwtImage​(org.eclipse.swt.graphics.Device device)  
      void drawFromGraphicsContext​(IGraphicsContext graphicsContext, float x, float y)  
      int getHeight()  
      org.eclipse.swt.graphics.Image getImage​(org.eclipse.swt.graphics.Device device)  
      org.eclipse.swt.graphics.ImageData getImageData()  
      int getWidth()  
      protected void setHeight​(int paramHeight)  
      protected void setWidth​(int paramWidth)  
      • Methods inherited from class java.lang.Object

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

      • IS_GTK

        public static final boolean IS_GTK
    • Constructor Detail

      • CwtSwtImage

        public CwtSwtImage​(org.eclipse.swt.graphics.ImageData imageData)
    • Method Detail

      • createSwtImage

        protected org.eclipse.swt.graphics.Image createSwtImage​(org.eclipse.swt.graphics.Device device)
      • getHeight

        public int getHeight()
        Specified by:
        getHeight in interface IImage
      • getImage

        public org.eclipse.swt.graphics.Image getImage​(org.eclipse.swt.graphics.Device device)
        Specified by:
        getImage in interface ISwtImage
      • getImageData

        public org.eclipse.swt.graphics.ImageData getImageData()
        Specified by:
        getImageData in interface ISwtImage
      • getWidth

        public int getWidth()
        Specified by:
        getWidth in interface IImage
      • setHeight

        protected void setHeight​(int paramHeight)
      • setWidth

        protected void setWidth​(int paramWidth)