Class vImage_Buffer


  • public final class vImage_Buffer
    extends org.moe.natj.c.StructObject
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
        vImage_Buffer()  
      protected vImage_Buffer​(org.moe.natj.general.Pointer peer)  
        vImage_Buffer​(org.moe.natj.general.ptr.VoidPtr data, long height, long width, long rowBytes)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.moe.natj.general.ptr.VoidPtr data()
      Pointer to the top left pixel of the buffer.
      long height()
      The height (in pixels) of the buffer
      long rowBytes()
      The number of bytes in a pixel row, including any unused space between one row and the next.
      void setData​(org.moe.natj.general.ptr.VoidPtr value)
      Pointer to the top left pixel of the buffer.
      void setHeight​(long value)
      The height (in pixels) of the buffer
      void setRowBytes​(long value)
      The number of bytes in a pixel row, including any unused space between one row and the next.
      void setWidth​(long value)
      The width (in pixels) of the buffer
      long width()
      The width (in pixels) of the buffer
      • Methods inherited from class org.moe.natj.general.NativeObject

        finalize, getPeer, getPeerPointer
      • Methods inherited from class java.lang.Object

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

      • vImage_Buffer

        public vImage_Buffer()
      • vImage_Buffer

        protected vImage_Buffer​(org.moe.natj.general.Pointer peer)
      • vImage_Buffer

        public vImage_Buffer​(org.moe.natj.general.ptr.VoidPtr data,
                             long height,
                             long width,
                             long rowBytes)
    • Method Detail

      • data

        public org.moe.natj.general.ptr.VoidPtr data()
        Pointer to the top left pixel of the buffer.
      • setData

        public void setData​(org.moe.natj.general.ptr.VoidPtr value)
        Pointer to the top left pixel of the buffer.
      • height

        public long height()
        The height (in pixels) of the buffer
      • setHeight

        public void setHeight​(long value)
        The height (in pixels) of the buffer
      • width

        public long width()
        The width (in pixels) of the buffer
      • setWidth

        public void setWidth​(long value)
        The width (in pixels) of the buffer
      • rowBytes

        public long rowBytes()
        The number of bytes in a pixel row, including any unused space between one row and the next.
      • setRowBytes

        public void setRowBytes​(long value)
        The number of bytes in a pixel row, including any unused space between one row and the next.