Shapes 3D  3.0
 All Classes Functions Variables Pages
shapes3d.utils.Image Class Reference

Static Public Member Functions

static PImage flipV (PImage src)
 
static PImage flipH (PImage src)
 
static PImage rotateCW (PImage src)
 
static PImage rotateCCW (PImage src)
 

Detailed Description

Small collection of methods to create mirrored or rotated images from an original image.

In all methods the original is unchanged.

Author
Peter Lager

Member Function Documentation

static PImage shapes3d.utils.Image.flipH ( PImage  src)
static

Using the provided image create a copy that is flipped along the horizontal axis.

Parameters
srcthe original image
Returns
the flipped image
static PImage shapes3d.utils.Image.flipV ( PImage  src)
static

Using the provided image create a copy that is flipped along the vertical axis.

Parameters
srcthe original image
Returns
the flipped image
static PImage shapes3d.utils.Image.rotateCCW ( PImage  src)
static

Using the provided image create a copy that is rotated left (clockwise) by 90°

Parameters
srcthe original image
Returns
the rotated image
static PImage shapes3d.utils.Image.rotateCW ( PImage  src)
static

Using the provided image create a copy that is rotated right (counter-clockwise) by 90°

Parameters
srcthe original image
Returns
the rotated image

The documentation for this class was generated from the following file: