org.freedesktop.cairo

Class SubpixelOrder


public class SubpixelOrder
extends 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)

Field Details

BGR

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


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


VBGR

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


VRGB

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

Method Details

intern

public static SubpixelOrder intern(int value)


test

public boolean test(SubpixelOrder other)