|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use ColorRef | |
---|---|
com.jniwrapper.win32.gdi | The com.jniwrapper.win32.gdi package contains classes that provide GDI related functionality. |
com.jniwrapper.win32.ui | The com.jniwrapper.win32.ui package contains auxilious classes for working with native windows,
such as Wnd , which provides you with useful window related functionality, WindowProc ,
which is designed for obtaining native window messages etc. |
Uses of ColorRef in com.jniwrapper.win32.gdi |
---|
Fields in com.jniwrapper.win32.gdi declared as ColorRef | |
---|---|
protected ColorRef |
LogBrush._color
Specifies brush color. |
Methods in com.jniwrapper.win32.gdi that return ColorRef | |
---|---|
ColorRef |
DC.getPixel(int x,
int y)
Returns a color (by ColorRef) of the specified pixel on this device context. |
ColorRef |
DC.setBkColor(ColorRef color)
Sets the background color in this device context. |
static ColorRef |
DC.setDCBrushColor(DC hDC,
ColorRef clrref)
This method sets the current device context (DC) brush color to the specified color value. |
ColorRef |
DC.setDCPenColor(DC hDC,
ColorRef colorRef)
This method sets the current device context (DC) pen color to the specified color value or the nearest to the specified color value in case when the device cannot set the specified color value. |
ColorRef |
DC.setTextColor(ColorRef color)
Sets the text color in this device context. |
Methods in com.jniwrapper.win32.gdi with parameters of type ColorRef | |
---|---|
static Brush |
Brush.createHatchBrush(Brush.HatchStyle style,
ColorRef colorRef)
Creates a logical brush that has the specified hatch pattern and color. |
static Pen |
Pen.createPen(int penStyle,
int penWidth,
ColorRef penColor)
|
static Brush |
Brush.createSolidBrush(ColorRef colorRef)
Creates a logical brush that has the specified solid color. |
ColorRef |
DC.setBkColor(ColorRef color)
Sets the background color in this device context. |
void |
LogBrush.setColor(ColorRef color)
|
static ColorRef |
DC.setDCBrushColor(DC hDC,
ColorRef clrref)
This method sets the current device context (DC) brush color to the specified color value. |
ColorRef |
DC.setDCPenColor(DC hDC,
ColorRef colorRef)
This method sets the current device context (DC) pen color to the specified color value or the nearest to the specified color value in case when the device cannot set the specified color value. |
ColorRef |
DC.setTextColor(ColorRef color)
Sets the text color in this device context. |
Uses of ColorRef in com.jniwrapper.win32.ui |
---|
Methods in com.jniwrapper.win32.ui with parameters of type ColorRef | |
---|---|
boolean |
Wnd.getLayeredWindowAttributes(ColorRef crKey,
com.jniwrapper.Int8 bAlpha,
com.jniwrapper.UInt32 dwFlags)
Retrieves the opacity and transparency color key of a layered window. |
void |
Wnd.setLayeredWindowAttributes(ColorRef crKey,
byte bAlpha,
int dwFlags)
Sets opacity and transparency of a layered window. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |