Package rope.image

Class R_Image

All Implemented Interfaces:
R_Constants, R_Constants_Colour

public class R_Image extends BigBang
  • Constructor Details

    • R_Image

      public R_Image(processing.core.PApplet pa, String path)
      Parameters:
      pa -
      path -
    • R_Image

      public R_Image(processing.core.PApplet pa, processing.core.PImage img)
      Parameters:
      pa -
      img -
    • R_Image

      public R_Image(processing.core.PApplet pa, processing.core.PImage img, String name)
      Parameters:
      pa -
      img -
      name -
    • R_Image

      public R_Image(processing.core.PApplet pa, processing.core.PImage img, String name, int id)
      Parameters:
      pa -
      img -
      name -
      id -
  • Method Details

    • width

      public int width()
    • height

      public int height()
    • get

      public R_Image get()
    • get_pimage

      @Deprecated public processing.core.PImage get_pimage()
      Deprecated.
    • get_PImage

      public processing.core.PImage get_PImage()
    • get_id

      public int get_id()
    • set_id

      public R_Image set_id(int id)
    • get_name

      public String get_name()
    • set_name

      public R_Image set_name(String name)
    • resize

      public void resize()
      Resize image to window size
    • resize

      public void resize(boolean fullfit)
      Resize image around window sketch width, height or both depend of the boolean fullfit value.
      Parameters:
      fullfit -
    • resize

      public void resize(processing.core.PGraphics pg, boolean fullfit)
      Resize image around PGraphics window width, height or both depend of the boolean fullfit value.
      Parameters:
      fullfit -
    • resize

      public void resize(int target_width, int target_height)
      Resize image to target_width and target_height.
    • resize

      public void resize(int target_width, int target_height, boolean fullfit)
      Resize image with target_width, target_height value or both depend of the boolean fullfit value.
      Parameters:
      fullfit -