jwx!
v0.0.2


wx
Class Brush

java.lang.Object
  extended bywx.Object
      extended bywx.GDIObject
          extended bywx.Brush

public class Brush
extends GDIObject


Field Summary
static int BDIAGONAL_HATCH
           
static Brush BLACK_BRUSH
           
static Brush BLUE_BRUSH
           
static int CROSS_HATCH
           
static int CROSSDIAG_HATCH
           
static Brush CYAN_BRUSH
           
static int FDIAGONAL_HATCH
           
static int FIRST_HATCH
           
static Brush GREEN_BRUSH
           
static Brush GREY_BRUSH
           
static int HORIZONTAL_HATCH
           
static int LAST_HATCH
           
static Brush LIGHT_GREY_BRUSH
           
static Brush MEDIUM_GREY_BRUSH
           
static Brush NullBrush
           
static Brush RED_BRUSH
           
static int STIPPLE
           
static int STIPPLE_MASK
           
static int STIPPLE_MASK_OPAQUE
           
static Brush TRANSPARENT_BRUSH
           
static int VERTICAL_HATCH
           
static Brush WHITE_BRUSH
           
 
Constructor Summary
Brush()
           
Brush(Bitmap stippleBitmap)
           
Brush(Brush brush)
           
Brush(Colour colour)
           
Brush(Colour colour, int style)
           
Brush(java.lang.String colourName, int style)
           
 
Method Summary
 void delete()
           
 Colour getColour()
           
 Bitmap getStipple()
           
 int getStyle()
           
 boolean isHatch()
           
 boolean ok()
           
 void setColour(Colour colour)
           
 void setColour(short red, short green, short blue)
           
 void setColour(java.lang.String colourName)
           
 void setStipple(Bitmap bitmap)
           
 void setStyle(int style)
           
 
Methods inherited from class wx.Object
_, getTanslation
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

BLUE_BRUSH

public static Brush BLUE_BRUSH

GREEN_BRUSH

public static Brush GREEN_BRUSH

WHITE_BRUSH

public static Brush WHITE_BRUSH

BLACK_BRUSH

public static Brush BLACK_BRUSH

GREY_BRUSH

public static Brush GREY_BRUSH

MEDIUM_GREY_BRUSH

public static Brush MEDIUM_GREY_BRUSH

LIGHT_GREY_BRUSH

public static Brush LIGHT_GREY_BRUSH

TRANSPARENT_BRUSH

public static Brush TRANSPARENT_BRUSH

CYAN_BRUSH

public static Brush CYAN_BRUSH

RED_BRUSH

public static Brush RED_BRUSH

NullBrush

public static final Brush NullBrush

STIPPLE_MASK_OPAQUE

public static final int STIPPLE_MASK_OPAQUE

STIPPLE_MASK

public static final int STIPPLE_MASK

STIPPLE

public static final int STIPPLE

BDIAGONAL_HATCH

public static final int BDIAGONAL_HATCH

CROSSDIAG_HATCH

public static final int CROSSDIAG_HATCH

FDIAGONAL_HATCH

public static final int FDIAGONAL_HATCH

CROSS_HATCH

public static final int CROSS_HATCH

HORIZONTAL_HATCH

public static final int HORIZONTAL_HATCH

VERTICAL_HATCH

public static final int VERTICAL_HATCH

FIRST_HATCH

public static final int FIRST_HATCH

LAST_HATCH

public static final int LAST_HATCH
Constructor Detail

Brush

public Brush()

Brush

public Brush(Colour colour,
             int style)

Brush

public Brush(Colour colour)

Brush

public Brush(java.lang.String colourName,
             int style)

Brush

public Brush(Bitmap stippleBitmap)

Brush

public Brush(Brush brush)
Method Detail

delete

public void delete()
Overrides:
delete in class GDIObject

getColour

public Colour getColour()

getStipple

public Bitmap getStipple()

getStyle

public int getStyle()

isHatch

public boolean isHatch()

ok

public boolean ok()

setColour

public void setColour(Colour colour)

setColour

public void setColour(java.lang.String colourName)

setColour

public void setColour(short red,
                      short green,
                      short blue)

setStipple

public void setStipple(Bitmap bitmap)

setStyle

public void setStyle(int style)

jwx!
v0.0.2


© 2006 Amit G Mendapara.