Uses of Class
org.eclipse.swt.graphics.Rectangle
-
-
Uses of Rectangle in org.eclipse.swt.accessibility
Fields in org.eclipse.swt.accessibility declared as Rectangle Modifier and Type Field Description Rectangle[]AccessibleTextEvent. rectangles -
Uses of Rectangle in org.eclipse.swt.custom
Methods in org.eclipse.swt.custom that return Rectangle Modifier and Type Method Description RectangleCTabFolder. computeTrim(int x, int y, int width, int height)protected RectangleCTabFolderRenderer. 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.RectangleViewForm. computeTrim(int x, int y, int width, int height)RectangleStyledText. getBlockSelectionBounds()Returns the block selection bounds.RectangleCTabItem. getBounds()Returns a rectangle describing the receiver's size and location relative to its parent.RectangleCBanner. getClientArea()RectangleCTabFolder. getClientArea()RectangleViewForm. getClientArea()RectangleStyledText. 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 Rectangle Modifier and Type Method Description protected voidCTabFolderRenderer. draw(int part, int state, Rectangle bounds, GC gc)Draw a specifiedpartof the CTabFolder using the providedboundsandGC.java.lang.StringPopupList. open(Rectangle rect)Launches the Popup List, waits for an item to be selected and then closes the PopupList.voidStyledText. setBlockSelectionBounds(Rectangle rect)Sets the block selection bounds. -
Uses of Rectangle in org.eclipse.swt.graphics
Methods in org.eclipse.swt.graphics that return Rectangle Modifier and Type Method Description RectangleDevice. getBounds()Returns a rectangle describing the receiver's size and location.RectangleImage. getBounds()Returns the bounds of the receiver.RectangleRegion. getBounds()Returns a rectangle which represents the rectangular union of the collection of polygons the receiver maintains to describe its area.RectangleTextLayout. getBounds()Returns the bounds of the receiver.RectangleTextLayout. getBounds(int start, int end)Returns the bounds for the specified range of characters.RectangleImage. getBoundsInPixels()Deprecated.This API doesn't serve the purpose in an environment having multiple monitors with different DPIs, hence deprecated.RectangleDevice. getClientArea()Returns a rectangle which describes the area of the receiver which is capable of displaying data.RectangleGC. getClipping()Returns the bounding rectangle of the receiver's clipping region.RectangleTextLayout. getLineBounds(int lineIndex)Returns the bounds of the line for the specified line index.RectangleRectangle. intersection(Rectangle rect)Returns a new rectangle which represents the intersection of the receiver and the given rectangle.RectangleRectangle. union(Rectangle rect)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 Rectangle Modifier and Type Method Description voidRectangle. 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.voidRegion. add(Rectangle rect)Adds the given rectangle to the collection of polygons the receiver maintains to describe its area.voidGC. drawRectangle(Rectangle rect)Draws the outline of the specified rectangle, using the receiver's foreground color.voidGC. fillRectangle(Rectangle rect)Fills the interior of the specified rectangle, using the receiver's background color.voidRectangle. 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.voidRegion. intersect(Rectangle rect)Intersects the given rectangle to the collection of polygons the receiver maintains to describe its area.RectangleRectangle. intersection(Rectangle rect)Returns a new rectangle which represents the intersection of the receiver and the given rectangle.booleanRectangle. intersects(Rectangle rect)Returnstrueif the given rectangle intersects with the receiver andfalseotherwise.booleanRegion. intersects(Rectangle rect)Returnstrueif the given rectangle intersects with any of the polygons the receiver maintains to describe its area andfalseotherwise.voidGC. setClipping(Rectangle rect)Sets the area of the receiver which can be changed by drawing operations to the rectangular area specified by the argument.voidRegion. subtract(Rectangle rect)Subtracts the given rectangle from the collection of polygons the receiver maintains to describe its area.RectangleRectangle. union(Rectangle rect)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 Constructor Description Image(Device device, Rectangle bounds)Constructs an empty instance of this class with the width and height of the specified rectangle. -
Uses of Rectangle in org.eclipse.swt.internal
Methods in org.eclipse.swt.internal that return Rectangle Modifier and Type Method Description static RectangleDPIUtil. autoScaleBounds(Rectangle rect, int targetZoom, int currentZoom)Returns a new rectangle as per the scaleFactor.static RectangleDPIUtil. autoScaleDown(Drawable drawable, Rectangle rect)Returns a new scaled down Rectangle if enabled for Drawable class.static RectangleDPIUtil. autoScaleDown(Rectangle rect)Returns a new scaled down Rectangle.static RectangleDPIUtil. autoScaleUp(Drawable drawable, Rectangle rect)Returns a new scaled up Rectangle if enabled for Drawable class.static RectangleDPIUtil. autoScaleUp(Rectangle rect)Returns a new scaled up Rectangle.Methods in org.eclipse.swt.internal with parameters of type Rectangle Modifier and Type Method Description static RectangleDPIUtil. autoScaleBounds(Rectangle rect, int targetZoom, int currentZoom)Returns a new rectangle as per the scaleFactor.static RectangleDPIUtil. autoScaleDown(Drawable drawable, Rectangle rect)Returns a new scaled down Rectangle if enabled for Drawable class.static RectangleDPIUtil. autoScaleDown(Rectangle rect)Returns a new scaled down Rectangle.static RectangleDPIUtil. autoScaleUp(Drawable drawable, Rectangle rect)Returns a new scaled up Rectangle if enabled for Drawable class.static RectangleDPIUtil. autoScaleUp(Rectangle rect)Returns a new scaled up Rectangle. -
Uses of Rectangle in org.eclipse.swt.internal.gtk
Methods in org.eclipse.swt.internal.gtk that return Rectangle Modifier and Type Method Description RectangleGdkRectangle. toRectangle() -
Uses of Rectangle in org.eclipse.swt.printing
Methods in org.eclipse.swt.printing that return Rectangle Modifier and Type Method Description RectanglePrinter. 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).RectanglePrinter. getBounds()Returns a rectangle describing the receiver's size and location.RectanglePrinter. 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 Rectangle Modifier and Type Method Description RectangleScrollable. 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.RectangleCaret. getBounds()Returns a rectangle describing the receiver's size and location relative to its parent (or its display if its parent is null).RectangleControl. 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.RectangleCoolItem. getBounds()Returns a rectangle describing the receiver's size and location relative to its parent.RectangleDisplay. getBounds()Returns a rectangle describing the receiver's size and location.RectangleEvent. getBounds()Gets the bounds.RectangleMonitor. getBounds()Returns a rectangle describing the receiver's size and location relative to its device.RectangleTabItem. getBounds()Returns a rectangle describing the receiver's size and location relative to its parent.RectangleTableItem. getBounds()Returns a rectangle describing the size and location of the receiver's text relative to its parent.RectangleTableItem. getBounds(int index)Returns a rectangle describing the receiver's size and location relative to its parent at a column in the table.RectangleToolItem. getBounds()Returns a rectangle describing the receiver's size and location relative to its parent.RectangleTouchSource. getBounds()Returns the bounding rectangle of the device.RectangleTreeItem. getBounds()Returns a rectangle describing the size and location of the receiver's text relative to its parent.RectangleTreeItem. getBounds(int index)Returns a rectangle describing the receiver's size and location relative to its parent at a column in the tree.RectangleDisplay. getClientArea()Returns a rectangle which describes the area of the receiver which is capable of displaying data.RectangleMonitor. getClientArea()Returns a rectangle which describes the area of the receiver which is capable of displaying data.RectangleScrollable. getClientArea()Returns a rectangle which describes the area of the receiver which is capable of displaying data (that is, not covered by the "trimmings").RectangleTableItem. getImageBounds(int index)Returns a rectangle describing the size and location relative to its parent of an image at a column in the table.RectangleTreeItem. 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[]Tracker. getRectangles()Returns the bounds that are being drawn, expressed relative to the parent widget.RectangleTableItem. getTextBounds(int index)Returns a rectangle describing the size and location relative to its parent of the text at a column in the table.RectangleTreeItem. getTextBounds(int index)Returns a rectangle describing the size and location relative to its parent of the text at a column in the tree.RectangleScrollBar. getThumbBounds()Returns a rectangle describing the size and location of the receiver's thumb relative to its parent.RectangleScrollBar. getThumbTrackBounds()Returns a rectangle describing the size and location of the receiver's thumb track relative to its parent.RectangleDisplay. map(Control from, Control to, int x, int y, int width, int height)Maps a point from one coordinate system to another.RectangleDisplay. map(Control from, Control to, Rectangle rectangle)Maps a point from one coordinate system to another.Methods in org.eclipse.swt.widgets with parameters of type Rectangle Modifier and Type Method Description RectangleDisplay. map(Control from, Control to, Rectangle rectangle)Maps a point from one coordinate system to another.voidCaret. setBounds(Rectangle rect)Sets the receiver's size and location to the rectangular area specified by the argument.voidControl. setBounds(Rectangle rect)Sets the receiver's size and location in points to the rectangular area specified by the argument.voidEvent. setBounds(Rectangle rect)Sets the bounds.voidTracker. setRectangles(Rectangle[] rectangles)Specifies the rectangles that should be drawn, expressed relative to the parent widget.
-