Package | Description |
---|---|
org.eclipse.swt.graphics | |
org.eclipse.swt.widgets |
Modifier and Type | Method and Description |
---|---|
static Region |
Region.win32_new(Device device,
int handle)
Invokes platform specific functionality to allocate a new region.
|
Modifier and Type | Method and Description |
---|---|
void |
Region.add(Region region)
Adds all of the polygons which make up the area covered
by the argument to the collection of polygons the receiver
maintains to describe its area.
|
void |
GC.getClipping(Region region)
Sets the region managed by the argument to the current
clipping region of the receiver.
|
void |
Region.intersect(Region region)
Intersects all of the polygons which make up the area covered
by the argument to the collection of polygons the receiver
maintains to describe its area.
|
void |
GC.setClipping(Region region)
Sets the area of the receiver which can be changed
by drawing operations to the region specified
by the argument.
|
void |
Region.subtract(Region region)
Subtracts all of the polygons which make up the area covered
by the argument from the collection of polygons the receiver
maintains to describe its area.
|
Modifier and Type | Method and Description |
---|---|
Region |
Shell.getRegion()
Returns the region that defines the shape of the shell,
or
null if the shell has the default shape. |
Region |
Control.getRegion()
Returns the region that defines the shape of the control,
or null if the control has the default shape.
|
Modifier and Type | Method and Description |
---|---|
void |
Shell.setRegion(Region region)
Sets the shape of the shell to the region specified
by the argument.
|
void |
Control.setRegion(Region region)
Sets the shape of the control to the region specified
by the argument.
|
Copyright © 2017. All Rights Reserved.