|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object gnu.x11.ValueList gnu.x11.GC.Values
public static class GC.Values
X GC values.
Field Summary | |
---|---|
static int |
AND
src AND dst. |
static int |
AND_INVERTED
NOT src AND dst. |
static int |
AND_REVERSE
src AND NOT dst. |
static int |
BEVEL
|
static int |
BUTT
|
static int |
CAP_ROUND
|
static int |
CHORD
|
static int |
CLEAR
0. |
static int |
CLIP_BY_CHILDREN
|
static int |
COPY
src. |
static int |
COPY_INVERTED
NOT src. |
static int |
DOUBLE_DASH
|
static GC.Values |
EMPTY
|
static int |
EQUIV
NOT src XOR dst. |
static int |
EVEN_ODD
|
static int |
INCLUDE_INTERIORS
|
static int |
INVERT
NOT dst. |
static int |
JOIN_ROUND
|
static int |
MITER
|
static int |
NAND
NOT src OR NOT dst. |
static int |
NOOP
dst. |
static int |
NOR
NOT src AND NOT dst. |
static int |
NOT_LAST
|
static int |
ON_OFF_DASH
|
static int |
OPAQUE_STIPPLED
|
static int |
OR
src OR dst. |
static int |
OR_INVERTED
NOT src OR dst. |
static int |
OR_REVERSE
src OR NOT dst. |
static int |
PIE_SLICE
|
static int |
PROJECTING
|
static int |
SET
1. |
static int |
SOLID
|
static int |
STIPPLED
|
static int |
TILED
|
static int |
WINDING
|
static int |
XOR
src XOR dst. |
Fields inherited from class gnu.x11.ValueList |
---|
ALL, bitmask, data |
Constructor Summary | |
---|---|
GC.Values()
|
Method Summary | |
---|---|
java.lang.Object |
clone()
|
void |
set_arc_mode(int i)
|
void |
set_background(Color c)
|
void |
set_background(int pixel)
|
void |
set_cap_style(int i)
|
void |
set_clip_mask(Pixmap p)
|
void |
set_clip_x_origin(int i)
|
void |
set_clip_y_origin(int i)
|
void |
set_dash_offset(int i)
|
void |
set_dashes(int i)
|
void |
set_fill_rule(int i)
|
void |
set_fill_style(int i)
|
void |
set_font(Font f)
|
void |
set_foreground(Color c)
|
void |
set_foreground(int pixel)
|
void |
set_function(int i)
|
void |
set_graphics_exposures(boolean b)
|
void |
set_join_style(int i)
|
void |
set_line_style(int i)
|
void |
set_line_width(int i)
|
void |
set_plane_mask(int i)
|
void |
set_stipple(Pixmap p)
|
void |
set_subwindow_mode(int i)
|
void |
set_tile_stipple_x_origin(int i)
|
void |
set_tile_stipple_y_origin(int i)
|
void |
set_tile(Pixmap p)
|
Methods inherited from class gnu.x11.ValueList |
---|
aggregate, clear, copy, count, set, set, write |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final GC.Values EMPTY
public static final int CLEAR
public static final int AND
public static final int AND_REVERSE
public static final int COPY
public static final int AND_INVERTED
public static final int NOOP
public static final int XOR
public static final int OR
public static final int NOR
public static final int EQUIV
public static final int INVERT
public static final int OR_REVERSE
public static final int COPY_INVERTED
public static final int OR_INVERTED
public static final int NAND
public static final int SET
public static final int SOLID
public static final int ON_OFF_DASH
public static final int DOUBLE_DASH
public static final int NOT_LAST
public static final int BUTT
public static final int CAP_ROUND
public static final int PROJECTING
public static final int MITER
public static final int JOIN_ROUND
public static final int BEVEL
public static final int TILED
public static final int OPAQUE_STIPPLED
public static final int STIPPLED
public static final int EVEN_ODD
public static final int WINDING
public static final int CLIP_BY_CHILDREN
public static final int INCLUDE_INTERIORS
public static final int CHORD
public static final int PIE_SLICE
Constructor Detail |
---|
public GC.Values()
Method Detail |
---|
public void set_function(int i)
i
- valid:
CLEAR
,
AND
,
AND_REVERSE
,
COPY
(default),
AND_INVERTED
,
NOOP
,
XOR
,
OR
,
NOR
,
EQUIV
,
INVERT
,
OR_REVERSE
,
COPY_INVERTED
,
OR_INVERTED
,
NAND
,
SET
public void set_plane_mask(int i)
i
- default: all onespublic void set_foreground(Color c)
set_foreground(int)
public void set_foreground(int pixel)
i
- default: 0public void set_background(Color c)
set_background(int)
public void set_background(int pixel)
i
- default: 1public void set_line_width(int i)
i
- default: 0public void set_line_style(int i)
i
- valid:
SOLID
(default),
ON_OFF_DASH
,
DOUBLE_DASH
public void set_cap_style(int i)
i
- valid:
NOT_LAST
(default),
BUTT
,
CAP_ROUND
,
PROJECTING
public void set_join_style(int i)
i
- valid:
MITER
(default),
JOIN_ROUND
,
BEVEL
public void set_fill_style(int i)
i
- valid:
SOLID
(default),
TILED
,
OPAQUE_STIPPLED
,
STIPPLED
public void set_fill_rule(int i)
i
- valid:
EVEN_ODD
(default),
WINDING
public void set_tile(Pixmap p)
p
- default: pixmap of unspecified size filled with foreground
pixelpublic void set_stipple(Pixmap p)
p
- default: pixmap of unspecified size filled with onespublic void set_tile_stipple_x_origin(int i)
i
- default: 0public void set_tile_stipple_y_origin(int i)
i
- default: 0public void set_font(Font f)
i
- default: server dependent fontpublic void set_subwindow_mode(int i)
i
- valid:
CLIP_BY_CHILDREN
(default),
INCLUDE_INTERIORS
public void set_graphics_exposures(boolean b)
b
- default: truepublic void set_clip_x_origin(int i)
i
- default: 0public void set_clip_y_origin(int i)
i
- default: 0public void set_clip_mask(Pixmap p)
p
- possible: Pixmap.NONE
(default)public void set_dash_offset(int i)
i
- default: 0public void set_dashes(int i)
i
- default: 4 (that is, the list [4, 4])public void set_arc_mode(int i)
i
- valid:
CHORD
(default),
PIE_SLICE
public java.lang.Object clone()
clone
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |