Class PIXCMAP

java.lang.Object
org.bytedeco.javacpp.Pointer
org.bytedeco.leptonica.PIXCMAP
All Implemented Interfaces:
AutoCloseable

@Name("PixColormap") @Properties(inherit=leptonica.class) public class PIXCMAP extends Pointer
Colormap of a Pix
  • Constructor Details

    • PIXCMAP

      public PIXCMAP()
      Default native constructor.
    • PIXCMAP

      public PIXCMAP(long size)
      Native array allocator. Access with Pointer.position(long).
    • PIXCMAP

      public PIXCMAP(Pointer p)
      Pointer cast constructor. Invokes Pointer(Pointer).
  • Method Details

    • position

      public PIXCMAP position(long position)
      Overrides:
      position in class Pointer
    • getPointer

      public PIXCMAP getPointer(long i)
      Overrides:
      getPointer in class Pointer
    • array

      public Pointer array()
      colormap table (array of RGBA_QUAD)
    • array

      public PIXCMAP array(Pointer setter)
    • depth

      @Cast("l_int32") public int depth()
      of pix (1, 2, 4 or 8 bpp)
    • depth

      public PIXCMAP depth(int setter)
    • nalloc

      @Cast("l_int32") public int nalloc()
      number of color entries allocated
    • nalloc

      public PIXCMAP nalloc(int setter)
    • n

      @Cast("l_int32") public int n()
      number of color entries used
    • n

      public PIXCMAP n(int setter)