public final enum

ImageMode

extends Enum<E extends Enum<E>>
java.lang.Object
   ↳ java.lang.Enum<E extends java.lang.Enum<E>>
     ↳ casmi.image.ImageMode

Class Overview

Modifies the location from which Texture and Image draw. The default mode is ImageMode.CORNER, which specifies the location to be the upper left corner of the shape and uses the third and fourth parameters of Texture() to specify the width and height. The syntax ImageMode.CORNERS uses the first and second parameters of Texture() to set the location of one corner and uses the third and fourth parameters to set the opposite corner. The syntax ImageMode.CENTER draws the image from its center point and uses the third and forth parameters of Texture() to specify the image's width and height.

Summary

Enum Values
ImageMode  CENTER   
ImageMode  CORNER   
ImageMode  CORNERS   
Public Methods
static ImageMode valueOf(String name)
final static ImageMode[] values()
[Expand]
Inherited Methods
From class java.lang.Enum
From class java.lang.Object
From interface java.lang.Comparable

Enum Values

public static final ImageMode CENTER

public static final ImageMode CORNER

public static final ImageMode CORNERS

Public Methods

public static ImageMode valueOf (String name)

public static final ImageMode[] values ()