Uses of Class
org.eclipse.swt.graphics.Rectangle
Packages that use Rectangle
Package
Description
-
Uses of Rectangle in org.eclipse.swt.accessibility
Fields in org.eclipse.swt.accessibility declared as Rectangle -
Uses of Rectangle in org.eclipse.swt.custom
Methods in org.eclipse.swt.custom that return RectangleModifier and TypeMethodDescriptionCTabFolder.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.TableTree.computeTrim
(int x, int y, int width, int height) Deprecated.ViewForm.computeTrim
(int x, int y, int width, int height) StyledText.getBlockSelectionBounds()
Returns the block selection bounds.CTabItem.getBounds()
Returns a rectangle describing the receiver's size and location relative to its parent.TableTreeItem.getBounds
(int index) Deprecated.Returns a rectangle describing the receiver's size and location relative to its parent.CBanner.getClientArea()
CTabFolder.getClientArea()
TableTree.getClientArea()
Deprecated.ViewForm.getClientArea()
StyledText.getTextBounds
(int start, int end) Returns the smallest bounding rectangle that includes the characters between two offsets.Methods in org.eclipse.swt.custom with parameters of type RectangleModifier and TypeMethodDescriptionprotected void
Draw a specifiedpart
of the CTabFolder using the providedbounds
andGC
.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. -
Uses of Rectangle in org.eclipse.swt.graphics
Methods in org.eclipse.swt.graphics that return RectangleModifier and TypeMethodDescriptionDevice.getBounds()
Returns a rectangle describing the receiver's size and location.Image.getBounds()
Returns the bounds of the receiver.Region.getBounds()
Returns a rectangle which represents the rectangular union of the collection of polygons the receiver maintains to describe its area.TextLayout.getBounds()
Returns the bounds of the receiver.TextLayout.getBounds
(int start, int end) Returns the bounds for the specified range of characters.Image.getBoundsInPixels()
Deprecated.This API doesn't serve the purpose in an environment having multiple monitors with different DPIs, hence deprecated.Device.getClientArea()
Returns a rectangle which describes the area of the receiver which is capable of displaying data.GC.getClipping()
Returns the bounding rectangle of the receiver's clipping region.TextLayout.getLineBounds
(int lineIndex) Returns the bounds of the line for the specified line index.Rectangle.intersection
(Rectangle rect) Returns a new rectangle which represents the intersection of the receiver and the given rectangle.Returns a new rectangle which represents the union of the receiver and the given rectangle.Methods in org.eclipse.swt.graphics with parameters of type RectangleModifier and TypeMethodDescriptionvoid
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
Adds the given rectangle to the collection of polygons the receiver maintains to describe its area.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
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.void
Intersects the given rectangle to the collection of polygons the receiver maintains to describe its area.Rectangle.intersection
(Rectangle rect) Returns a new rectangle which represents the intersection of the receiver and the given rectangle.boolean
Rectangle.intersects
(Rectangle rect) Returnstrue
if the given rectangle intersects with the receiver andfalse
otherwise.boolean
Region.intersects
(Rectangle rect) Returnstrue
if the given rectangle intersects with any of the polygons the receiver maintains to describe its area andfalse
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
Subtracts the given rectangle from the collection of polygons the receiver maintains to describe its area.Returns a new rectangle which represents the union of the receiver and the given rectangle.Constructors in org.eclipse.swt.graphics with parameters of type Rectangle -
Uses of Rectangle in org.eclipse.swt.internal
Methods in org.eclipse.swt.internal that return RectangleModifier and TypeMethodDescriptionstatic 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.Methods in org.eclipse.swt.internal with parameters of type RectangleModifier and TypeMethodDescriptionstatic 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. -
Uses of Rectangle in org.eclipse.swt.ole.win32
Methods in org.eclipse.swt.ole.win32 that return RectangleModifier and TypeMethodDescriptionOleClientSite.getIndent()
Returns the indent value that would be used to compute the clipping area of the active X object.Methods in org.eclipse.swt.ole.win32 with parameters of type Rectangle -
Uses of Rectangle in org.eclipse.swt.printing
Methods in org.eclipse.swt.printing that return RectangleModifier and TypeMethodDescriptionPrinter.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).Printer.getBounds()
Returns a rectangle describing the receiver's size and location.Printer.getClientArea()
Returns a rectangle which describes the area of the receiver which is capable of displaying data. -
Uses of Rectangle in org.eclipse.swt.widgets
Methods in org.eclipse.swt.widgets that return RectangleModifier and TypeMethodDescriptionScrollable.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.Caret.getBounds()
Returns a rectangle describing the receiver's size and location relative to its parent (or its display if its parent is null).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.CoolItem.getBounds()
Returns a rectangle describing the receiver's size and location relative to its parent.Display.getBounds()
Returns a rectangle describing the receiver's size and location.Event.getBounds()
Gets the bounds.Monitor.getBounds()
Returns a rectangle describing the receiver's size and location relative to its device.TabItem.getBounds()
Returns a rectangle describing the receiver's size and location relative to its parent.TableItem.getBounds()
Returns a rectangle describing the size and location of the receiver's text relative to its parent.TableItem.getBounds
(int index) Returns a rectangle describing the receiver's size and location relative to its parent at a column in the table.ToolItem.getBounds()
Returns a rectangle describing the receiver's size and location relative to its parent.TouchSource.getBounds()
Returns the bounding rectangle of the device.TreeItem.getBounds()
Returns a rectangle describing the size and location of the receiver's text relative to its parent.TreeItem.getBounds
(int index) Returns a rectangle describing the receiver's size and location relative to its parent at a column in the tree.Display.getClientArea()
Returns a rectangle which describes the area of the receiver which is capable of displaying data.Monitor.getClientArea()
Returns a rectangle which describes the area of the receiver which is capable of displaying data.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").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.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.Tracker.getRectangles()
Returns the bounds that are being drawn, expressed relative to the parent widget.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.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.ScrollBar.getThumbBounds()
Returns a rectangle describing the size and location of the receiver's thumb relative to its parent.ScrollBar.getThumbTrackBounds()
Returns a rectangle describing the size and location of the receiver's thumb track relative to its parent.Maps a point from one coordinate system to another.Maps a point from one coordinate system to another.Methods in org.eclipse.swt.widgets with parameters of type RectangleModifier and TypeMethodDescriptionMaps a point from one coordinate system to another.void
Sets the receiver's size and location to the rectangular area specified by the argument.void
Sets the receiver's size and location in points to the rectangular area specified by the argument.void
Sets the bounds.void
Tracker.setRectangles
(Rectangle[] rectangles) Specifies the rectangles that should be drawn, expressed relative to the parent widget.