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 SubpixelOrderBGR
Subpixel elements are arranged horizontally with blue at the left
static SubpixelOrderDEFAULT
Use the default subpixel order for for the target device
static SubpixelOrderRGB
Subpixel elements are arranged horizontally with red at the left
static SubpixelOrderVBGR
Subpixel elements are arranged vertically with blue at the top
static SubpixelOrderVRGB
Subpixel elements are arranged vertically with red at the top
Method Summary
static SubpixelOrderintern(int value)
booleantest(SubpixelOrder other)

Field Detail

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 Detail

intern

public static SubpixelOrder intern(int value)

test

public boolean test(SubpixelOrder other)