Class BitmapLayer

    • Constructor Detail

      • BitmapLayer

        public BitmapLayer()
        Constructor.
    • Method Detail

      • setBitmap

        public void setBitmap​(android.graphics.Bitmap bitmap)
        Sets the bitmap to be rendered. The bitmap will fill the bounds.
        Parameters:
        bitmap - The bitmap to be rendered.
      • setBounds

        public void setBounds​(int x,
                              int y,
                              int width,
                              int height)
        Specified by:
        setBounds in interface Positionable
      • onSurfaceChanged

        public void onSurfaceChanged​(int width,
                                     int height)
        Specified by:
        onSurfaceChanged in interface Renderable
      • onDrawFrame

        public void onDrawFrame​(double time)
        Specified by:
        onDrawFrame in interface Renderable