org.freedesktop.cairo
Class SubpixelOrder

java.lang.Object
  extended byorg.gnu.glib.Enum
      extended byorg.freedesktop.cairo.SubpixelOrder

public class SubpixelOrder
extends org.gnu.glib.Enum

The subpixel order specifies the order of color elements within each pixel on the display device when rendering with an antialiasing mode of SUBPIXEL.


Field Summary
static SubpixelOrder BGR
          Subpixel elements are arranged horizontally with blue at the left
static SubpixelOrder DEFAULT
          Use the default subpixel order for for the target device
static SubpixelOrder RGB
          Subpixel elements are arranged horizontally with red at the left
static SubpixelOrder VBGR
          Subpixel elements are arranged vertically with blue at the top
static SubpixelOrder VRGB
          Subpixel elements are arranged vertically with red at the top
 
Method Summary
static SubpixelOrder intern(int value)
           
 boolean test(SubpixelOrder other)
           
 
Methods inherited from class org.gnu.glib.Enum
equals, getValue, hashCode
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT

public static final SubpixelOrder DEFAULT
Use the default subpixel order for for the target device


RGB

public static final SubpixelOrder RGB
Subpixel elements are arranged horizontally with red at the left


BGR

public static final SubpixelOrder BGR
Subpixel elements are arranged horizontally with blue at the left


VRGB

public static final SubpixelOrder VRGB
Subpixel elements are arranged vertically with red at the top


VBGR

public static final SubpixelOrder VBGR
Subpixel elements are arranged vertically with blue at the top

Method Detail

intern

public static SubpixelOrder intern(int value)

test

public boolean test(SubpixelOrder other)