|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.gnu.glib.Struct
org.gnu.glib.GObject
org.gnu.gdk.Drawable
org.gnome.gdk.Drawable
.
public class Drawable
Provides support for drawing points, lines, arcs, and text onto what we call 'drawables'. Drawables, as the name suggests, are things which support drawing onto them and are either org.gnu.gdk.Window or org.gnu.gdk.Pixmap objects.
Method Summary | |
---|---|
void |
drawArc(boolean filled,
int x,
int y,
int width,
int height,
int angle1,
int angle2)
Deprecated. Superceeded by java-gnome 4.0; this method or constant will no doubt exist conceptually, but it may have a different name or signature in order that the presented API is an algorithmic mapping of the underlying native libraries. |
void |
drawArc(GC gc,
boolean filled,
int x,
int y,
int width,
int height,
int angle1,
int angle2)
Deprecated. Superceeded by java-gnome 4.0; this method or constant will no doubt exist conceptually, but it may have a different name or signature in order that the presented API is an algorithmic mapping of the underlying native libraries. |
void |
drawDrawable(Drawable src,
int xsrc,
int ysrc,
int xdest,
int ydest,
int width,
int height)
Deprecated. Superceeded by java-gnome 4.0; this method or constant will no doubt exist conceptually, but it may have a different name or signature in order that the presented API is an algorithmic mapping of the underlying native libraries. |
void |
drawDrawable(GC gc,
Drawable src,
int xsrc,
int ysrc,
int xdest,
int ydest,
int width,
int height)
Deprecated. Superceeded by java-gnome 4.0; this method or constant will no doubt exist conceptually, but it may have a different name or signature in order that the presented API is an algorithmic mapping of the underlying native libraries. |
void |
drawGlyphs(Font font,
int x,
int y,
GlyphString glyphs)
Deprecated. Superceeded by java-gnome 4.0; this method or constant will no doubt exist conceptually, but it may have a different name or signature in order that the presented API is an algorithmic mapping of the underlying native libraries. |
void |
drawGlyphs(GC gc,
Font font,
int x,
int y,
GlyphString glyphs)
Deprecated. Superceeded by java-gnome 4.0; this method or constant will no doubt exist conceptually, but it may have a different name or signature in order that the presented API is an algorithmic mapping of the underlying native libraries. |
void |
drawGrayImage(GC gc,
int x,
int y,
int width,
int height,
RgbDither dither,
byte[] buffer,
int rowStride)
Deprecated. |
void |
drawGrayImage(int x,
int y,
int width,
int height,
RgbDither dither,
byte[] buffer,
int rowStride)
Deprecated. |
void |
drawImage(GC gc,
Image image,
int xsrc,
int ysrc,
int xdest,
int ydest,
int width,
int height)
Deprecated. Superceeded by java-gnome 4.0; this method or constant will no doubt exist conceptually, but it may have a different name or signature in order that the presented API is an algorithmic mapping of the underlying native libraries. |
void |
drawImage(Image image,
int xsrc,
int ysrc,
int xdest,
int ydest,
int width,
int height)
Deprecated. Superceeded by java-gnome 4.0; this method or constant will no doubt exist conceptually, but it may have a different name or signature in order that the presented API is an algorithmic mapping of the underlying native libraries. |
void |
drawIndexedImage(GC gc,
int x,
int y,
int width,
int height,
RgbDither dither,
byte[] buffer,
int rowStride,
RgbCmap cmap)
Deprecated. |
void |
drawIndexedImage(int x,
int y,
int width,
int height,
RgbDither dither,
byte[] buffer,
int rowStride,
RgbCmap cmap)
Deprecated. |
void |
drawLayout(GC gc,
int x,
int y,
Layout layout)
Deprecated. Superceeded by java-gnome 4.0; this method or constant will no doubt exist conceptually, but it may have a different name or signature in order that the presented API is an algorithmic mapping of the underlying native libraries. |
void |
drawLayout(int x,
int y,
Layout layout)
Deprecated. Superceeded by java-gnome 4.0; this method or constant will no doubt exist conceptually, but it may have a different name or signature in order that the presented API is an algorithmic mapping of the underlying native libraries. |
void |
drawLayoutLine(GC gc,
int x,
int y,
LayoutLine line)
Deprecated. Superceeded by java-gnome 4.0; this method or constant will no doubt exist conceptually, but it may have a different name or signature in order that the presented API is an algorithmic mapping of the underlying native libraries. |
void |
drawLayoutLine(int x,
int y,
LayoutLine line)
Deprecated. Superceeded by java-gnome 4.0; this method or constant will no doubt exist conceptually, but it may have a different name or signature in order that the presented API is an algorithmic mapping of the underlying native libraries. |
void |
drawLayoutLineWithColors(GC gc,
int x,
int y,
LayoutLine line,
Color foreground,
Color background)
Deprecated. Superceeded by java-gnome 4.0; this method or constant will no doubt exist conceptually, but it may have a different name or signature in order that the presented API is an algorithmic mapping of the underlying native libraries. |
void |
drawLayoutLineWithColors(int x,
int y,
LayoutLine line,
Color foreground,
Color background)
Deprecated. Superceeded by java-gnome 4.0; this method or constant will no doubt exist conceptually, but it may have a different name or signature in order that the presented API is an algorithmic mapping of the underlying native libraries. |
void |
drawLayoutWithColors(GC gc,
int x,
int y,
Layout layout,
Color foreground,
Color background)
Deprecated. Superceeded by java-gnome 4.0; this method or constant will no doubt exist conceptually, but it may have a different name or signature in order that the presented API is an algorithmic mapping of the underlying native libraries. |
void |
drawLayoutWithColors(int x,
int y,
Layout layout,
Color foreground,
Color background)
Deprecated. Superceeded by java-gnome 4.0; this method or constant will no doubt exist conceptually, but it may have a different name or signature in order that the presented API is an algorithmic mapping of the underlying native libraries. |
void |
drawLine(GC gc,
int x1,
int y1,
int x2,
int y2)
Deprecated. Superceeded by java-gnome 4.0; this method or constant will no doubt exist conceptually, but it may have a different name or signature in order that the presented API is an algorithmic mapping of the underlying native libraries. |
void |
drawLine(int x1,
int y1,
int x2,
int y2)
Deprecated. Superceeded by java-gnome 4.0; this method or constant will no doubt exist conceptually, but it may have a different name or signature in order that the presented API is an algorithmic mapping of the underlying native libraries. |
void |
drawLines(GC gc,
Point[] points)
Deprecated. Superceeded by java-gnome 4.0; this method or constant will no doubt exist conceptually, but it may have a different name or signature in order that the presented API is an algorithmic mapping of the underlying native libraries. |
void |
drawLines(Point[] points)
Deprecated. Superceeded by java-gnome 4.0; this method or constant will no doubt exist conceptually, but it may have a different name or signature in order that the presented API is an algorithmic mapping of the underlying native libraries. |
void |
drawPixbuf(GC gc,
Pixbuf pixbuf,
int srcx,
int srcy,
int destx,
int desty,
int width,
int height,
RgbDither dither,
int xdither,
int ydither)
Deprecated. Superceeded by java-gnome 4.0; this method or constant will no doubt exist conceptually, but it may have a different name or signature in order that the presented API is an algorithmic mapping of the underlying native libraries. |
void |
drawPixbuf(Pixbuf pixbuf,
int srcx,
int srcy,
int destx,
int desty,
int width,
int height,
RgbDither dither,
int xdither,
int ydither)
Deprecated. Superceeded by java-gnome 4.0; this method or constant will no doubt exist conceptually, but it may have a different name or signature in order that the presented API is an algorithmic mapping of the underlying native libraries. |
void |
drawPoint(GC gc,
int x,
int y)
Deprecated. Superceeded by java-gnome 4.0; this method or constant will no doubt exist conceptually, but it may have a different name or signature in order that the presented API is an algorithmic mapping of the underlying native libraries. |
void |
drawPoint(int x,
int y)
Deprecated. Superceeded by java-gnome 4.0; this method or constant will no doubt exist conceptually, but it may have a different name or signature in order that the presented API is an algorithmic mapping of the underlying native libraries. |
void |
drawPoints(GC gc,
Point[] points)
Deprecated. Superceeded by java-gnome 4.0; this method or constant will no doubt exist conceptually, but it may have a different name or signature in order that the presented API is an algorithmic mapping of the underlying native libraries. |
void |
drawPoints(Point[] points)
Deprecated. Superceeded by java-gnome 4.0; this method or constant will no doubt exist conceptually, but it may have a different name or signature in order that the presented API is an algorithmic mapping of the underlying native libraries. |
void |
drawPolygon(boolean filled,
Point[] points)
Deprecated. Superceeded by java-gnome 4.0; this method or constant will no doubt exist conceptually, but it may have a different name or signature in order that the presented API is an algorithmic mapping of the underlying native libraries. |
void |
drawPolygon(GC gc,
boolean filled,
Point[] points)
Deprecated. Superceeded by java-gnome 4.0; this method or constant will no doubt exist conceptually, but it may have a different name or signature in order that the presented API is an algorithmic mapping of the underlying native libraries. |
void |
drawRectangle(boolean filled,
int x,
int y,
int width,
int height)
Deprecated. Superceeded by java-gnome 4.0; this method or constant will no doubt exist conceptually, but it may have a different name or signature in order that the presented API is an algorithmic mapping of the underlying native libraries. |
void |
drawRectangle(GC gc,
boolean filled,
int x,
int y,
int width,
int height)
Deprecated. Superceeded by java-gnome 4.0; this method or constant will no doubt exist conceptually, but it may have a different name or signature in order that the presented API is an algorithmic mapping of the underlying native libraries. |
void |
drawRGB32Image(GC gc,
int x,
int y,
int width,
int height,
RgbDither dither,
byte[] buffer,
int rowStride)
Deprecated. |
void |
drawRGB32Image(int x,
int y,
int width,
int height,
RgbDither dither,
byte[] buffer,
int rowStride)
Deprecated. |
void |
drawRGB32ImageDitherAlign(GC gc,
int x,
int y,
int width,
int height,
RgbDither dither,
byte[] buffer,
int rowStride,
int xdith,
int ydith)
Deprecated. |
void |
drawRGB32ImageDitherAlign(int x,
int y,
int width,
int height,
RgbDither dither,
byte[] buffer,
int rowStride,
int xdith,
int ydith)
Deprecated. |
void |
drawRGBImage(GC gc,
int x,
int y,
int width,
int height,
RgbDither dither,
byte[] buffer,
int rowStride)
Deprecated. |
void |
drawRGBImage(int x,
int y,
int width,
int height,
RgbDither dither,
byte[] buffer,
int rowStride)
Deprecated. |
void |
drawRGBImageDitherAlign(GC gc,
int x,
int y,
int width,
int height,
RgbDither dither,
byte[] buffer,
int rowStride,
int xdith,
int ydith)
Deprecated. |
void |
drawRGBImageDitherAlign(int x,
int y,
int width,
int height,
RgbDither dither,
byte[] buffer,
int rowStride,
int xdith,
int ydith)
Deprecated. |
void |
drawSegments(GC gc,
Segment[] segments)
Deprecated. Superceeded by java-gnome 4.0; this method or constant will no doubt exist conceptually, but it may have a different name or signature in order that the presented API is an algorithmic mapping of the underlying native libraries. |
void |
drawSegments(Segment[] segments)
Deprecated. Superceeded by java-gnome 4.0; this method or constant will no doubt exist conceptually, but it may have a different name or signature in order that the presented API is an algorithmic mapping of the underlying native libraries. |
Region |
getClipRegion()
Deprecated. Superceeded by java-gnome 4.0; this method or constant will no doubt exist conceptually, but it may have a different name or signature in order that the presented API is an algorithmic mapping of the underlying native libraries. |
Colormap |
getColormap()
Deprecated. Superceeded by java-gnome 4.0; this method or constant will no doubt exist conceptually, but it may have a different name or signature in order that the presented API is an algorithmic mapping of the underlying native libraries. |
int |
getDepth()
Deprecated. Superceeded by java-gnome 4.0; this method or constant will no doubt exist conceptually, but it may have a different name or signature in order that the presented API is an algorithmic mapping of the underlying native libraries. |
Display |
getDisplay()
Deprecated. Superceeded by java-gnome 4.0; this method or constant will no doubt exist conceptually, but it may have a different name or signature in order that the presented API is an algorithmic mapping of the underlying native libraries. |
int |
getHeight()
Deprecated. Superceeded by java-gnome 4.0; this method or constant will no doubt exist conceptually, but it may have a different name or signature in order that the presented API is an algorithmic mapping of the underlying native libraries. |
Image |
getImage(int x,
int y,
int width,
int height)
Deprecated. Superceeded by java-gnome 4.0; this method or constant will no doubt exist conceptually, but it may have a different name or signature in order that the presented API is an algorithmic mapping of the underlying native libraries. |
Screen |
getScreen()
Deprecated. Superceeded by java-gnome 4.0; this method or constant will no doubt exist conceptually, but it may have a different name or signature in order that the presented API is an algorithmic mapping of the underlying native libraries. |
Dimension |
getSize()
Deprecated. use getWidth and getHeight instead. |
static org.gnu.glib.Type |
getType()
Deprecated. Superceeded by java-gnome 4.0; this method or constant will no doubt exist conceptually, but it may have a different name or signature in order that the presented API is an algorithmic mapping of the underlying native libraries. |
Region |
getVisibleRegion()
Deprecated. Superceeded by java-gnome 4.0; this method or constant will no doubt exist conceptually, but it may have a different name or signature in order that the presented API is an algorithmic mapping of the underlying native libraries. |
Visual |
getVisual()
Deprecated. Superceeded by java-gnome 4.0; this method or constant will no doubt exist conceptually, but it may have a different name or signature in order that the presented API is an algorithmic mapping of the underlying native libraries. |
int |
getWidth()
Deprecated. Superceeded by java-gnome 4.0; this method or constant will no doubt exist conceptually, but it may have a different name or signature in order that the presented API is an algorithmic mapping of the underlying native libraries. |
void |
setColormap(Colormap cmap)
Deprecated. Superceeded by java-gnome 4.0; this method or constant will no doubt exist conceptually, but it may have a different name or signature in order that the presented API is an algorithmic mapping of the underlying native libraries. |
Methods inherited from class org.gnu.glib.GObject |
---|
addEventHandler, addEventHandler, addEventHandler, addEventHandler, addEventHandler, addEventHandler, addEventHandler, addListener, collect, freezeNotify, getBooleanProperty, getData, getDoubleProperty, getEventListenerClass, getEventType, getFloatProperty, getGObjectFromHandle, getIntProperty, getJavaObjectProperty, getLongProperty, getProperty, getStringProperty, hasProperty, notify, removeEventHandler, removeListener, setBooleanProperty, setData, setDoubleProperty, setFloatProperty, setIntProperty, setJavaObjectProperty, setLongProperty, setProperty, setStringProperty, thawNotify |
Methods inherited from class org.gnu.glib.Struct |
---|
equals, getHandle, getNullHandle, hashCode |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public Dimension getSize()
public int getWidth()
public int getHeight()
public void setColormap(Colormap cmap)
cmap
- public Colormap getColormap()
public Visual getVisual()
public int getDepth()
public Image getImage(int x, int y, int width, int height)
x
- y
- width
- height
- public Region getClipRegion()
public Region getVisibleRegion()
public void drawRGBImage(GC gc, int x, int y, int width, int height, RgbDither dither, byte[] buffer, int rowStride)
public void drawRGBImage(int x, int y, int width, int height, RgbDither dither, byte[] buffer, int rowStride)
public void drawRGBImageDitherAlign(GC gc, int x, int y, int width, int height, RgbDither dither, byte[] buffer, int rowStride, int xdith, int ydith)
public void drawRGBImageDitherAlign(int x, int y, int width, int height, RgbDither dither, byte[] buffer, int rowStride, int xdith, int ydith)
public void drawRGB32Image(GC gc, int x, int y, int width, int height, RgbDither dither, byte[] buffer, int rowStride)
public void drawRGB32Image(int x, int y, int width, int height, RgbDither dither, byte[] buffer, int rowStride)
public void drawRGB32ImageDitherAlign(GC gc, int x, int y, int width, int height, RgbDither dither, byte[] buffer, int rowStride, int xdith, int ydith)
public void drawRGB32ImageDitherAlign(int x, int y, int width, int height, RgbDither dither, byte[] buffer, int rowStride, int xdith, int ydith)
public void drawGrayImage(GC gc, int x, int y, int width, int height, RgbDither dither, byte[] buffer, int rowStride)
public void drawGrayImage(int x, int y, int width, int height, RgbDither dither, byte[] buffer, int rowStride)
public void drawIndexedImage(GC gc, int x, int y, int width, int height, RgbDither dither, byte[] buffer, int rowStride, RgbCmap cmap)
public void drawIndexedImage(int x, int y, int width, int height, RgbDither dither, byte[] buffer, int rowStride, RgbCmap cmap)
public void drawPolygon(GC gc, boolean filled, Point[] points)
gc
- filled
- points
- public void drawPolygon(boolean filled, Point[] points)
filled
- points
- public void drawDrawable(GC gc, Drawable src, int xsrc, int ysrc, int xdest, int ydest, int width, int height)
gc
- src
- xsrc
- ysrc
- xdest
- ydest
- width
- height
- public void drawDrawable(Drawable src, int xsrc, int ysrc, int xdest, int ydest, int width, int height)
src
- xsrc
- ysrc
- xdest
- ydest
- width
- height
- public void drawImage(GC gc, Image image, int xsrc, int ysrc, int xdest, int ydest, int width, int height)
gc
- image
- xsrc
- ysrc
- xdest
- ydest
- width
- height
- public void drawImage(Image image, int xsrc, int ysrc, int xdest, int ydest, int width, int height)
image
- xsrc
- ysrc
- xdest
- ydest
- width
- height
- public void drawPoints(GC gc, Point[] points)
gc
- points
- public void drawPoints(Point[] points)
points
- public void drawSegments(GC gc, Segment[] segments)
gc
- segments
- public void drawSegments(Segment[] segments)
segments
- public void drawLines(GC gc, Point[] points)
gc
- points
- public void drawLines(Point[] points)
points
- public void drawGlyphs(GC gc, Font font, int x, int y, GlyphString glyphs)
A glyph is a single image in a font. This method draws a sequence of glyphs.
gc
- font
- x
- y
- glyphs
- public void drawGlyphs(Font font, int x, int y, GlyphString glyphs)
A glyph is a single image in a font. This method draws a sequence of glyphs.
font
- x
- y
- glyphs
- public void drawLayoutLine(GC gc, int x, int y, LayoutLine line)
gc
- x
- y
- line
- public void drawLayoutLine(int x, int y, LayoutLine line)
x
- y
- line
- public void drawLayout(GC gc, int x, int y, Layout layout)
gc
- x
- y
- layout
- public void drawLayout(int x, int y, Layout layout)
x
- y
- layout
- public void drawLayoutLineWithColors(GC gc, int x, int y, LayoutLine line, Color foreground, Color background)
gc
- x
- y
- line
- foreground
- background
- public void drawLayoutLineWithColors(int x, int y, LayoutLine line, Color foreground, Color background)
x
- y
- line
- foreground
- background
- public void drawLayoutWithColors(GC gc, int x, int y, Layout layout, Color foreground, Color background)
gc
- x
- y
- layout
- foreground
- background
- public void drawLayoutWithColors(int x, int y, Layout layout, Color foreground, Color background)
x
- y
- layout
- foreground
- background
- public Display getDisplay()
public Screen getScreen()
public void drawPoint(GC gc, int x, int y)
gc
- x
- y
- public void drawPoint(int x, int y)
x
- y
- public void drawLine(GC gc, int x1, int y1, int x2, int y2)
gc
- x1
- y1
- x2
- y2
- public void drawLine(int x1, int y1, int x2, int y2)
x1
- y1
- x2
- y2
- public void drawPixbuf(GC gc, Pixbuf pixbuf, int srcx, int srcy, int destx, int desty, int width, int height, RgbDither dither, int xdither, int ydither)
gc
- pixbuf
- srcx
- srcy
- destx
- desty
- width
- height
- dither
- xdither
- ydither
- public void drawPixbuf(Pixbuf pixbuf, int srcx, int srcy, int destx, int desty, int width, int height, RgbDither dither, int xdither, int ydither)
pixbuf
- srcx
- srcy
- destx
- desty
- width
- height
- dither
- xdither
- ydither
- public void drawRectangle(GC gc, boolean filled, int x, int y, int width, int height)
gc
- filled
- x
- y
- width
- height
- public void drawRectangle(boolean filled, int x, int y, int width, int height)
filled
- x
- y
- width
- height
- public void drawArc(GC gc, boolean filled, int x, int y, int width, int height, int angle1, int angle2)
gc
- filled
- x
- y
- width
- height
- angle1
- angle2
- public void drawArc(boolean filled, int x, int y, int width, int height, int angle1, int angle2)
filled
- x
- y
- width
- height
- angle1
- angle2
- public static org.gnu.glib.Type getType()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |