|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.l2fprod.gui.region.RegionBuilder
public final class RegionBuilder
SkinRegion.
Field Summary |
---|
Fields inherited from interface com.l2fprod.gui.nativeskin.NativeConstants |
---|
FILL_ALTERNATE, FILL_WINDING, REGION_AND, REGION_COPY, REGION_DIFF, REGION_OR, REGION_XOR, VERSION |
Constructor Summary | |
---|---|
RegionBuilder()
|
Method Summary | |
---|---|
Region |
combineRegions(Region region1,
Region region2,
int combineMode)
Description of the Method |
Region |
createEllipticRegion(int x1,
int y1,
int x2,
int y2)
Description of the Method |
Region |
createPolygonRegion(int[] xpoints,
int[] ypoints,
int fillMode)
Description of the Method |
Region |
createRectangleRegion(int x1,
int y1,
int x2,
int y2)
Description of the Method |
Region |
createRegion(java.awt.Image image)
Description of the Method |
Region |
createRegion(java.awt.Image image,
int width,
int height)
Description of the Method |
Region |
createRoundRectangleRegion(int x1,
int y1,
int x2,
int y2,
int x3,
int y3)
Description of the Method |
RegionBuilder |
getInstance()
|
static boolean |
isSupported()
|
void |
setWindowRegion(int handle,
Region region,
boolean redraw)
Sets the Region for the graphical object identified by the given native handle. |
void |
setWindowRegion(java.awt.Window window,
Region region,
boolean redraw)
Sets the WindowRegion attribute of the RegionBuilder object |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RegionBuilder()
Method Detail |
---|
public RegionBuilder getInstance()
public static boolean isSupported()
public void setWindowRegion(java.awt.Window window, Region region, boolean redraw)
window
- The new WindowRegion valueregion
- The new WindowRegion valueredraw
- The new WindowRegion valuepublic void setWindowRegion(int handle, Region region, boolean redraw)
handle
- an int
valueregion
- a Region
valueredraw
- a boolean
valuepublic Region createEllipticRegion(int x1, int y1, int x2, int y2)
x1
- Description of Parametery1
- Description of Parameterx2
- Description of Parametery2
- Description of Parameter
public Region createRectangleRegion(int x1, int y1, int x2, int y2)
x1
- Description of Parametery1
- Description of Parameterx2
- Description of Parametery2
- Description of Parameter
public Region createRoundRectangleRegion(int x1, int y1, int x2, int y2, int x3, int y3)
x1
- Description of Parametery1
- Description of Parameterx2
- Description of Parametery2
- Description of Parameterx3
- Description of Parametery3
- Description of Parameter
public Region createPolygonRegion(int[] xpoints, int[] ypoints, int fillMode)
xpoints
- Description of Parameterypoints
- Description of ParameterfillMode
- Description of Parameter
public Region combineRegions(Region region1, Region region2, int combineMode)
region1
- Description of Parameterregion2
- Description of ParametercombineMode
- Description of Parameter
public Region createRegion(java.awt.Image image)
image
- Description of Parameter
public Region createRegion(java.awt.Image image, int width, int height)
image
- Description of Parameterwidth
- Description of Parameterheight
- Description of Parameter
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |