Class PImage

    • Field Detail

      • width

        public final int width
      • height

        public final int height
    • Constructor Detail

      • PImage

        public PImage​(int width,
                      int height)
    • Method Detail

      • find

        public <T> Optional<T> find​(Class<T> type)
        Search for an instance of the given type.
        Type Parameters:
        T -
        Parameters:
        type - class to search for
        Returns:
        Optional wrapping the result if found, or empty if not
      • unwrap

        protected abstract processing.core.PImage unwrap​(PGLContext context)