jwx!
v0.0.2


wx
Class Region

java.lang.Object
  extended bywx.Object
      extended bywx.GDIObject
          extended bywx.Region

public class Region
extends GDIObject


Constructor Summary
Region()
           
Region(Bitmap bmp)
           
Region(Bitmap bmp, Colour transColour)
           
Region(Bitmap bmp, Colour transColour, int tolerance)
           
Region(int x, int y, int w, int h)
           
Region(Point[] points)
           
Region(Point[] points, int fillStyle)
           
Region(Point topLeft, Point bottomRight)
           
Region(Rect rect)
           
Region(Region region)
           
 
Method Summary
 void clear()
           
 int contains(int x, int y)
           
 int contains(int x, int y, int w, int h)
           
 int contains(Point pt)
           
 int contains(Rect rect)
           
 Bitmap convertToBitmap()
           
 void delete()
           
 boolean empty()
           
 Rect getBox()
           
 boolean intersect(int x, int y, int width, int height)
           
 boolean intersect(Rect rect)
           
 boolean intersect(Region region)
           
 boolean isEmpty()
           
 boolean offset(int x, int y)
           
 boolean subtract(int x, int y, int width, int height)
           
 boolean subtract(Rect rect)
           
 boolean subtract(Region region)
           
 boolean union(Bitmap bmp)
           
 boolean union(Bitmap bmp, Colour transColour)
           
 boolean union(Bitmap bmp, Colour transColour, int tolerance)
           
 boolean union(int x, int y, int width, int height)
           
 boolean union(Rect rect)
           
 boolean union(Region region)
           
 boolean xor(int x, int y, int width, int height)
           
 boolean xor(Rect rect)
           
 boolean xor(Region region)
           
 
Methods inherited from class wx.Object
_, getTanslation
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Region

public Region(Point[] points,
              int fillStyle)

Region

public Region(Point[] points)

Region

public Region()

Region

public Region(int x,
              int y,
              int w,
              int h)

Region

public Region(Point topLeft,
              Point bottomRight)

Region

public Region(Rect rect)

Region

public Region(Bitmap bmp)

Region

public Region(Bitmap bmp,
              Colour transColour,
              int tolerance)

Region

public Region(Bitmap bmp,
              Colour transColour)

Region

public Region(Region region)
Method Detail

delete

public void delete()
Overrides:
delete in class GDIObject

clear

public void clear()

offset

public boolean offset(int x,
                      int y)

union

public boolean union(int x,
                     int y,
                     int width,
                     int height)

union

public boolean union(Rect rect)

union

public boolean union(Region region)

intersect

public boolean intersect(int x,
                         int y,
                         int width,
                         int height)

intersect

public boolean intersect(Rect rect)

intersect

public boolean intersect(Region region)

subtract

public boolean subtract(int x,
                        int y,
                        int width,
                        int height)

subtract

public boolean subtract(Rect rect)

subtract

public boolean subtract(Region region)

xor

public boolean xor(int x,
                   int y,
                   int width,
                   int height)

xor

public boolean xor(Rect rect)

xor

public boolean xor(Region region)

getBox

public Rect getBox()

empty

public boolean empty()

isEmpty

public boolean isEmpty()

contains

public int contains(int x,
                    int y)

contains

public int contains(int x,
                    int y,
                    int w,
                    int h)

contains

public int contains(Point pt)

contains

public int contains(Rect rect)

convertToBitmap

public Bitmap convertToBitmap()

union

public boolean union(Bitmap bmp)

union

public boolean union(Bitmap bmp,
                     Colour transColour,
                     int tolerance)

union

public boolean union(Bitmap bmp,
                     Colour transColour)

jwx!
v0.0.2


© 2006 Amit G Mendapara.