jwx!
v0.0.2


wx
Class Pen

java.lang.Object
  extended bywx.Object
      extended bywx.GDIObject
          extended bywx.Pen

public class Pen
extends GDIObject


Field Summary
static Pen BLACK_DASHED_PEN
           
static Pen BLACK_PEN
           
static int CAP_BUTT
           
static int CAP_PROJECTING
           
static int CAP_ROUND
           
static Pen CYAN_PEN
           
static int DOT
           
static int DOT_DASH
           
static Pen GREEN_PEN
           
static Pen GREY_PEN
           
static int JOIN_BEVEL
           
static int JOIN_MITER
           
static int JOIN_ROUND
           
static Pen LIGHT_GREY_PEN
           
static int LONG_DASH
           
static Pen MEDIUM_GREY_PEN
           
static Pen NullPen
           
static Pen RED_PEN
           
static int SHORT_DASH
           
static int SOLID
           
static int TRANSPARENT
           
static Pen TRANSPARENT_PEN
           
static int USER_DASH
           
static Pen WHITE_PEN
           
 
Constructor Summary
Pen()
           
Pen(Colour colour)
           
Pen(Colour colour, int width)
           
Pen(Colour colour, int width, int style)
           
Pen(Pen pen)
           
 
Method Summary
 void delete()
           
 int getCap()
           
 Colour getColour()
           
 int getJoin()
           
 int getStyle()
           
 int getWidth()
           
 boolean ok()
           
 void setCap(int capStyle)
           
 void setColour(Colour colour)
           
 void setColour(int red, int green, int blue)
           
 void setJoin(int joinStyle)
           
 void setStyle(int style)
           
 void setWidth(int width)
           
 
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

RED_PEN

public static Pen RED_PEN

CYAN_PEN

public static Pen CYAN_PEN

GREEN_PEN

public static Pen GREEN_PEN

BLACK_PEN

public static Pen BLACK_PEN

WHITE_PEN

public static Pen WHITE_PEN

TRANSPARENT_PEN

public static Pen TRANSPARENT_PEN

BLACK_DASHED_PEN

public static Pen BLACK_DASHED_PEN

GREY_PEN

public static Pen GREY_PEN

MEDIUM_GREY_PEN

public static Pen MEDIUM_GREY_PEN

LIGHT_GREY_PEN

public static Pen LIGHT_GREY_PEN

NullPen

public static final Pen NullPen

SOLID

public static final int SOLID

DOT

public static final int DOT

LONG_DASH

public static final int LONG_DASH

SHORT_DASH

public static final int SHORT_DASH

DOT_DASH

public static final int DOT_DASH

USER_DASH

public static final int USER_DASH

TRANSPARENT

public static final int TRANSPARENT

JOIN_BEVEL

public static final int JOIN_BEVEL

JOIN_MITER

public static final int JOIN_MITER

JOIN_ROUND

public static final int JOIN_ROUND

CAP_ROUND

public static final int CAP_ROUND

CAP_PROJECTING

public static final int CAP_PROJECTING

CAP_BUTT

public static final int CAP_BUTT
Constructor Detail

Pen

public Pen()

Pen

public Pen(Colour colour,
           int width,
           int style)

Pen

public Pen(Colour colour,
           int width)

Pen

public Pen(Colour colour)

Pen

public Pen(Pen pen)
Method Detail

delete

public void delete()
Overrides:
delete in class GDIObject

ok

public boolean ok()

setColour

public void setColour(Colour colour)

setColour

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

setCap

public void setCap(int capStyle)

setJoin

public void setJoin(int joinStyle)

setStyle

public void setStyle(int style)

setWidth

public void setWidth(int width)

getColour

public Colour getColour()

getCap

public int getCap()

getJoin

public int getJoin()

getStyle

public int getStyle()

getWidth

public int getWidth()

jwx!
v0.0.2


© 2006 Amit G Mendapara.