Modifier and Type | Field and Description |
---|---|
Rectangle[] |
AccessibleTextEvent.rectangles |
Modifier and Type | Method and Description |
---|---|
Rectangle |
ViewForm.computeTrim(int x,
int y,
int width,
int height) |
Rectangle |
TableTree.computeTrim(int x,
int y,
int width,
int height)
Deprecated.
|
Rectangle |
CTabFolder.computeTrim(int x,
int y,
int width,
int height) |
protected Rectangle |
CTabFolderRenderer.computeTrim(int part,
int state,
int x,
int y,
int width,
int height)
Given a desired client area for the part
(as described by the arguments), returns the bounding
rectangle which would be required to produce that client
area.
|
Rectangle |
StyledText.getBlockSelectionBounds()
Returns the block selection bounds.
|
Rectangle |
CTabItem.getBounds()
Returns a rectangle describing the receiver's size and location
relative to its parent.
|
Rectangle |
TableTreeItem.getBounds(int index)
Deprecated.
Returns a rectangle describing the receiver's size and location
relative to its parent.
|
Rectangle |
ViewForm.getClientArea() |
Rectangle |
TableTree.getClientArea()
Deprecated.
|
Rectangle |
CTabFolder.getClientArea() |
Rectangle |
CBanner.getClientArea() |
Rectangle |
StyledText.getTextBounds(int start,
int end)
Returns the smallest bounding rectangle that includes the characters between two offsets.
|
Modifier and Type | Method and Description |
---|---|
protected void |
CTabFolderRenderer.draw(int part,
int state,
Rectangle bounds,
GC gc)
Draw a specified
part of the CTabFolder using the provided bounds and GC . |
String |
PopupList.open(Rectangle rect)
Launches the Popup List, waits for an item to be selected and then closes the PopupList.
|
void |
StyledText.setBlockSelectionBounds(Rectangle rect)
Sets the block selection bounds.
|
Modifier and Type | Method and Description |
---|---|
Rectangle |
TextLayout.getBounds()
Returns the bounds of the receiver.
|
Rectangle |
Region.getBounds()
Returns a rectangle which represents the rectangular
union of the collection of polygons the receiver
maintains to describe its area.
|
Rectangle |
Image.getBounds()
Returns the bounds of the receiver.
|
Rectangle |
Device.getBounds()
Returns a rectangle describing the receiver's size and location.
|
Rectangle |
TextLayout.getBounds(int start,
int end)
Returns the bounds for the specified range of characters.
|
Rectangle |
Image.getBoundsInPixels()
Returns the bounds of the receiver.
|
Rectangle |
Device.getClientArea()
Returns a rectangle which describes the area of the
receiver which is capable of displaying data.
|
Rectangle |
GC.getClipping()
Returns the bounding rectangle of the receiver's clipping
region.
|
Rectangle |
TextLayout.getLineBounds(int lineIndex)
Returns the bounds of the line for the specified line index.
|
Rectangle |
Rectangle.intersection(Rectangle rect)
Returns a new rectangle which represents the intersection
of the receiver and the given rectangle.
|
Rectangle |
Rectangle.union(Rectangle rect)
Returns a new rectangle which represents the union of
the receiver and the given rectangle.
|
Modifier and Type | Method and Description |
---|---|
void |
Region.add(Rectangle rect)
Adds the given rectangle to the collection of polygons
the receiver maintains to describe its area.
|
void |
Rectangle.add(Rectangle rect)
Destructively replaces the x, y, width and height values
in the receiver with ones which represent the union of the
rectangles specified by the receiver and the given rectangle.
|
void |
GC.drawRectangle(Rectangle rect)
Draws the outline of the specified rectangle, using the receiver's
foreground color.
|
void |
GC.fillRectangle(Rectangle rect)
Fills the interior of the specified rectangle, using the receiver's
background color.
|
void |
Region.intersect(Rectangle rect)
Intersects the given rectangle to the collection of polygons
the receiver maintains to describe its area.
|
void |
Rectangle.intersect(Rectangle rect)
Destructively replaces the x, y, width and height values
in the receiver with ones which represent the intersection of the
rectangles specified by the receiver and the given rectangle.
|
Rectangle |
Rectangle.intersection(Rectangle rect)
Returns a new rectangle which represents the intersection
of the receiver and the given rectangle.
|
boolean |
Region.intersects(Rectangle rect)
Returns
true if the given rectangle intersects
with any of the polygons the receiver maintains to describe
its area and false otherwise. |
boolean |
Rectangle.intersects(Rectangle rect)
Returns
true if the given rectangle intersects
with the receiver and false otherwise. |
void |
GC.setClipping(Rectangle rect)
Sets the area of the receiver which can be changed
by drawing operations to the rectangular area specified
by the argument.
|
void |
Region.subtract(Rectangle rect)
Subtracts the given rectangle from the collection of polygons
the receiver maintains to describe its area.
|
Rectangle |
Rectangle.union(Rectangle rect)
Returns a new rectangle which represents the union of
the receiver and the given rectangle.
|
Constructor and Description |
---|
Image(Device device,
Rectangle bounds)
Constructs an empty instance of this class with the
width and height of the specified rectangle.
|
Modifier and Type | Method and Description |
---|---|
static Rectangle |
DPIUtil.autoScaleBounds(Rectangle rect,
int targetZoom,
int currentZoom)
Returns a new rectangle as per the scaleFactor.
|
static Rectangle |
DPIUtil.autoScaleDown(Drawable drawable,
Rectangle rect)
Returns a new scaled down Rectangle if enabled for Drawable class.
|
static Rectangle |
DPIUtil.autoScaleDown(Rectangle rect)
Returns a new scaled down Rectangle.
|
static Rectangle |
DPIUtil.autoScaleUp(Drawable drawable,
Rectangle rect)
Returns a new scaled up Rectangle if enabled for Drawable class.
|
static Rectangle |
DPIUtil.autoScaleUp(Rectangle rect)
Returns a new scaled up Rectangle.
|
Modifier and Type | Method and Description |
---|---|
static Rectangle |
DPIUtil.autoScaleBounds(Rectangle rect,
int targetZoom,
int currentZoom)
Returns a new rectangle as per the scaleFactor.
|
static Rectangle |
DPIUtil.autoScaleDown(Drawable drawable,
Rectangle rect)
Returns a new scaled down Rectangle if enabled for Drawable class.
|
static Rectangle |
DPIUtil.autoScaleDown(Rectangle rect)
Returns a new scaled down Rectangle.
|
static Rectangle |
DPIUtil.autoScaleUp(Drawable drawable,
Rectangle rect)
Returns a new scaled up Rectangle if enabled for Drawable class.
|
static Rectangle |
DPIUtil.autoScaleUp(Rectangle rect)
Returns a new scaled up Rectangle.
|
Modifier and Type | Field and Description |
---|---|
Rectangle |
DrawData.clientArea |
Rectangle |
GroupDrawData.headerArea |
Rectangle |
TabFolderDrawData.tabsArea |
Modifier and Type | Method and Description |
---|---|
Rectangle |
Theme.computeTrim(GC gc,
DrawData data) |
Rectangle |
Theme.getBounds(int part,
Rectangle bounds,
DrawData data) |
Rectangle |
Theme.measureText(GC gc,
Rectangle bounds,
DrawData data,
String text,
int flags) |
Modifier and Type | Method and Description |
---|---|
void |
Theme.drawBackground(GC gc,
Rectangle bounds,
DrawData data) |
void |
Theme.drawFocus(GC gc,
Rectangle bounds,
DrawData data) |
void |
Theme.drawImage(GC gc,
Rectangle bounds,
DrawData data,
Image image,
int flags) |
void |
Theme.drawText(GC gc,
Rectangle bounds,
DrawData data,
String text,
int flags) |
Rectangle |
Theme.getBounds(int part,
Rectangle bounds,
DrawData data) |
int |
Theme.getSelection(Point offset,
Rectangle bounds,
RangeDrawData data) |
int |
Theme.hitBackground(Point position,
Rectangle bounds,
DrawData data) |
Rectangle |
Theme.measureText(GC gc,
Rectangle bounds,
DrawData data,
String text,
int flags) |
Modifier and Type | Method and Description |
---|---|
Rectangle |
OleClientSite.getIndent()
Returns the indent value that would be used to compute the clipping area
of the active X object.
|
Modifier and Type | Method and Description |
---|---|
void |
OleClientSite.setIndent(Rectangle newIndent)
The indent value is no longer being used by the client site.
|
Modifier and Type | Method and Description |
---|---|
Rectangle |
Printer.computeTrim(int x,
int y,
int width,
int height)
Given a client area (as described by the arguments),
returns a rectangle, relative to the client area's coordinates,
that is the client area expanded by the printer's trim (or minimum margins).
|
Rectangle |
Printer.getBounds()
Returns a rectangle describing the receiver's size and location.
|
Rectangle |
Printer.getClientArea()
Returns a rectangle which describes the area of the
receiver which is capable of displaying data.
|
Modifier and Type | Method and Description |
---|---|
Rectangle |
Scrollable.computeTrim(int x,
int y,
int width,
int height)
Given a desired client area for the receiver
(as described by the arguments), returns the bounding
rectangle which would be required to produce that client
area.
|
Rectangle |
TreeItem.getBounds()
Returns a rectangle describing the size and location of the receiver's
text relative to its parent.
|
Rectangle |
TouchSource.getBounds()
Returns the bounding rectangle of the device.
|
Rectangle |
ToolItem.getBounds()
Returns a rectangle describing the receiver's size and location
relative to its parent.
|
Rectangle |
TableItem.getBounds()
Returns a rectangle describing the size and location of the receiver's
text relative to its parent.
|
Rectangle |
TabItem.getBounds()
Returns a rectangle describing the receiver's size and location
relative to its parent.
|
Rectangle |
Monitor.getBounds()
Returns a rectangle describing the receiver's size and location
relative to its device.
|
Rectangle |
Event.getBounds()
Gets the bounds.
|
Rectangle |
Display.getBounds()
Returns a rectangle describing the receiver's size and location.
|
Rectangle |
CoolItem.getBounds()
Returns a rectangle describing the receiver's size and location
relative to its parent.
|
Rectangle |
Control.getBounds()
Returns a rectangle describing the receiver's size and location in points
relative to its parent (or its display if its parent is null),
unless the receiver is a shell.
|
Rectangle |
Caret.getBounds()
Returns a rectangle describing the receiver's size and location
relative to its parent (or its display if its parent is null).
|
Rectangle |
TreeItem.getBounds(int index)
Returns a rectangle describing the receiver's size and location
relative to its parent at a column in the tree.
|
Rectangle |
TableItem.getBounds(int index)
Returns a rectangle describing the receiver's size and location
relative to its parent at a column in the table.
|
Rectangle |
Scrollable.getClientArea()
Returns a rectangle which describes the area of the
receiver which is capable of displaying data (that is,
not covered by the "trimmings").
|
Rectangle |
Monitor.getClientArea()
Returns a rectangle which describes the area of the
receiver which is capable of displaying data.
|
Rectangle |
Display.getClientArea()
Returns a rectangle which describes the area of the
receiver which is capable of displaying data.
|
Rectangle |
TreeItem.getImageBounds(int index)
Returns a rectangle describing the size and location
relative to its parent of an image at a column in the
tree.
|
Rectangle |
TableItem.getImageBounds(int index)
Returns a rectangle describing the size and location
relative to its parent of an image at a column in the
table.
|
Rectangle[] |
Tracker.getRectangles()
Returns the bounds that are being drawn, expressed relative to the parent
widget.
|
Rectangle |
TreeItem.getTextBounds(int index)
Returns a rectangle describing the size and location
relative to its parent of the text at a column in the
tree.
|
Rectangle |
TableItem.getTextBounds(int index)
Returns a rectangle describing the size and location
relative to its parent of the text at a column in the
table.
|
Rectangle |
ScrollBar.getThumbBounds()
Returns a rectangle describing the size and location of the
receiver's thumb relative to its parent.
|
Rectangle |
ScrollBar.getThumbTrackBounds()
Returns a rectangle describing the size and location of the
receiver's thumb track relative to its parent.
|
Rectangle |
Display.map(Control from,
Control to,
int x,
int y,
int width,
int height)
Maps a point from one coordinate system to another.
|
Rectangle |
Display.map(Control from,
Control to,
Rectangle rectangle)
Maps a point from one coordinate system to another.
|
Modifier and Type | Method and Description |
---|---|
Rectangle |
Display.map(Control from,
Control to,
Rectangle rectangle)
Maps a point from one coordinate system to another.
|
void |
Event.setBounds(Rectangle rect)
Sets the bounds.
|
void |
Control.setBounds(Rectangle rect)
Sets the receiver's size and location in points to the rectangular
area specified by the argument.
|
void |
Caret.setBounds(Rectangle rect)
Sets the receiver's size and location to the rectangular
area specified by the argument.
|
void |
Tracker.setRectangles(Rectangle[] rectangles)
Specifies the rectangles that should be drawn, expressed relative to the parent
widget.
|
Copyright © 2017. All Rights Reserved.