Uses of Class
org.eclipse.swt.graphics.Rectangle
Packages that use Rectangle
Package
Description
Provides classes that help communicate proper content for fields in dialogs and wizards.
Provides support for layout generation.
Provides a framework for preferences.
Provides support for managing resources such as SWT
fonts and images.
Provides a framework for creating and manipulating text documents.
Provides an information provider add-on for an
ITextViewer.Provides a framework for connecting document regions
with annotations and for displaying those.
This package provides the UI part for projection documents of which the most important part is the projection viewer.
Provides useful building blocks used throughout JFace,
including property change events, a listener list implementation, and runtime
checked assertions.
Provides a framework for viewers, which are model-based
content adapters for SWT widgets.
Provides a general framework for creating and managing
windows.
Provides a framework for wizards.
SWT Accessibility.
SWT Custom widgets.
SWT graphics classes.
SWT internal classes
SWT Win32 OLE implementation classes.
SWT Printing support classes.
SWT widget public API classes.
Custom widgets and controls for forms-based parts.
Provides the Common Navigator framework.
Application programming interfaces for interaction
with and extension of the Eclipse Platform User Interface.
Provides a framework for text editors obeying to the
desktop rules.
-
Uses of Rectangle in org.eclipse.e4.ui.widgets
Methods in org.eclipse.e4.ui.widgets that return Rectangle -
Uses of Rectangle in org.eclipse.e4.ui.workbench.renderers.swt
Methods in org.eclipse.e4.ui.workbench.renderers.swt that return RectangleModifier and TypeMethodDescriptionprotected RectangleCTabRendering.computeTrim(int part, int state, int x, int y, int width, int height) CTabRendering.getPadding()TrimmedPartLayout.getTrimRect(int side) Methods in org.eclipse.e4.ui.workbench.renderers.swt with parameters of type Rectangle -
Uses of Rectangle in org.eclipse.jface.databinding.swt.typed
Methods in org.eclipse.jface.databinding.swt.typed that return types with arguments of type RectangleModifier and TypeMethodDescriptionstatic <S extends Control>
IWidgetValueProperty<S, Rectangle> WidgetProperties.bounds()Returns a value property for observing the bounds of aControl. -
Uses of Rectangle in org.eclipse.jface.fieldassist
Methods in org.eclipse.jface.fieldassist that return RectangleModifier and TypeMethodDescriptionprotected RectangleControlDecoration.getDecorationRectangle(Control targetControl) Return the rectangle in which the decoration should be rendered, in coordinates relative to the specified control.ComboContentAdapter.getInsertionBounds(Control control) IControlContentAdapter.getInsertionBounds(Control control) Get the bounds (in pixels) of the insertion point for the control content.TextContentAdapter.getInsertionBounds(Control control) -
Uses of Rectangle in org.eclipse.jface.layout
Methods in org.eclipse.jface.layout with parameters of type RectangleModifier and TypeMethodDescriptionGridLayoutFactory.extendedMargins(Rectangle differenceRect) Sets the margins for layouts created with this factory. -
Uses of Rectangle in org.eclipse.jface.preference
Fields in org.eclipse.jface.preference declared as RectangleModifier and TypeFieldDescriptionstatic final RectanglePreferenceConverter.RECTANGLE_DEFAULT_DEFAULTThe default-default value for rectangle preferences (the empty rectangle(0,0,0,0)).Methods in org.eclipse.jface.preference that return RectangleModifier and TypeMethodDescriptionstatic RectanglePreferenceConverter.getDefaultRectangle(IPreferenceStore store, String name) Returns the default value for the rectangle-valued preference with the given name in the given preference store.static RectanglePreferenceConverter.getRectangle(IPreferenceStore store, String name) Returns the current value of the rectangle-valued preference with the given name in the given preference store.Methods in org.eclipse.jface.preference with parameters of type RectangleModifier and TypeMethodDescriptionstatic voidPreferenceConverter.setDefault(IPreferenceStore store, String name, Rectangle value) Sets the default value of the preference with the given name in the given preference store.static voidPreferenceConverter.setValue(IPreferenceStore store, String name, Rectangle value) Sets the current value of the preference with the given name in the given preference store. -
Uses of Rectangle in org.eclipse.jface.resource
Methods in org.eclipse.jface.resource that return RectangleModifier and TypeMethodDescriptionstatic RectangleStringConverter.asRectangle(String value) Converts the given value into an SWT rectangle.static RectangleStringConverter.asRectangle(String value, Rectangle dflt) Converts the given value into an SWT rectangle.Methods in org.eclipse.jface.resource with parameters of type Rectangle -
Uses of Rectangle in org.eclipse.jface.text
Methods in org.eclipse.jface.text that return RectangleModifier and TypeMethodDescriptionstatic RectangleJFaceTextUtil.computeArea(IRegion region, ITextViewer textViewer) Determines the graphical area covered by the given text region in the given viewer.protected RectangleAbstractInformationControlManager.computeAvailableArea(Rectangle subjectArea, Rectangle bounds, AbstractInformationControlManager.Anchor anchor) Computes the area available for an information control given an anchor and the subject area withinbounds.AbstractInformationControl.computeTrim()Computes the trim (status text and tool bar are considered as trim).DefaultInformationControl.computeTrim()IInformationControlExtension3.computeTrim()Computes the trim for this control.AbstractInformationControl.getBounds()IInformationControlExtension3.getBounds()Returns a rectangle describing the receiver's size and location relative to its parent (or its display if its parent is null).protected RectangleAbstractInformationControlManager.getSubjectArea()Returns the actual subject area.protected RectangleAbstractInformationControlManager.restoreInformationControlBounds()Restores the information control's bounds.Methods in org.eclipse.jface.text with parameters of type RectangleModifier and TypeMethodDescriptionprotected RectangleAbstractInformationControlManager.computeAvailableArea(Rectangle subjectArea, Rectangle bounds, AbstractInformationControlManager.Anchor anchor) Computes the area available for an information control given an anchor and the subject area withinbounds.protected PointAbstractInformationControlManager.computeInformationControlLocation(Rectangle subjectArea, Point controlSize) Computes the location of the information control depending on the subject area and the size of the information control.protected PointAbstractInformationControlManager.computeLocation(Rectangle subjectArea, Point controlSize, AbstractInformationControlManager.Anchor anchor) Computes the display location of the information control.protected PointAbstractInformationControlManager.computeSizeConstraints(Control subjectControl, Rectangle subjectArea, IInformationControl informationControl) Computes the size constraints of the information control in points.protected final voidAbstractInformationControlManager.setInformation(Object information, Rectangle subjectArea) Sets the parameters of the information to be displayed.protected final voidAbstractInformationControlManager.setInformation(String information, Rectangle subjectArea) Sets the parameters of the information to be displayed.protected voidAbstractInformationControlManager.showInformationControl(Rectangle subjectArea) Shows the information control and starts the information control closer.voidTells this closer to start monitoring the subject and the information control.protected booleanAbstractInformationControlManager.updateLocation(Point location, Point size, Rectangle displayArea, AbstractInformationControlManager.Anchor anchor) Checks whether a control of the given size at the given location would be completely visible in the given display area when laid out by using the given anchor. -
Uses of Rectangle in org.eclipse.jface.text.information
Methods in org.eclipse.jface.text.information with parameters of type RectangleModifier and TypeMethodDescriptionprotected voidInformationPresenter.showInformationControl(Rectangle subjectArea) -
Uses of Rectangle in org.eclipse.jface.text.source
Methods in org.eclipse.jface.text.source with parameters of type RectangleModifier and TypeMethodDescriptionprotected PointAnnotationBarHoverManager.computeInformationControlLocation(Rectangle subjectArea, Point controlSize) protected PointAnnotationBarHoverManager.computeLocation(Rectangle subjectArea, Point controlSize, AbstractInformationControlManager.Anchor anchor) protected PointAnnotationBarHoverManager.computeSizeConstraints(Control subjectControl, Rectangle subjectArea, IInformationControl informationControl) static voidDraws an image aligned inside the given rectangle on the given canvas.static voidDraws an image aligned inside the given rectangle on the given canvas.voidIAnnotationAccessExtension.paint(Annotation annotation, GC gc, Canvas canvas, Rectangle bounds) Draws a graphical representation of the given annotation within the given bounds.voidImplement this method to draw a graphical representation of this annotation within the given bounds.protected voidAnnotationBarHoverManager.showInformationControl(Rectangle subjectArea) voidDeprecated. -
Uses of Rectangle in org.eclipse.jface.text.source.projection
Methods in org.eclipse.jface.text.source.projection with parameters of type Rectangle -
Uses of Rectangle in org.eclipse.jface.util
Methods in org.eclipse.jface.util that return RectangleModifier and TypeMethodDescriptionstatic RectangleReturns a new Rectangle whose x, y, width, and height is the sum of the x, y, width, and height values of both rectangles respectively.static RectangleReturns a copy of the given rectanglestatic RectangleGeometry.createDiffRectangle(int left, int right, int top, int bottom) Returns a rectangle which, when added to another rectangle, will expand each side by the given number of units.static RectangleGeometry.createRectangle(Point position, Point size) Returns a new rectangle with the given position and dimensions, expressed as points.static RectangleGeometry.getExtrudedEdge(Rectangle toExtrude, int size, int orientation) Extrudes the given edge inward by the given distance.static RectangleReturns a new difference Rectangle whose x, y, width, and height are equal to the difference of the corresponding attributes from the given rectanglesstatic RectangleConverts the given rectangle from display coordinates to the local coordinate system of the given object into display coordinates.static RectangleConverts the given rectangle from the local coordinate system of the given object into display coordinates.Methods in org.eclipse.jface.util with parameters of type RectangleModifier and TypeMethodDescriptionstatic RectangleReturns a new Rectangle whose x, y, width, and height is the sum of the x, y, width, and height values of both rectangles respectively.static PointGeometry.centerPoint(Rectangle rect) Returns the point in the center of the given rectangle.static RectangleReturns a copy of the given rectanglestatic voidMoves each edge of the given rectangle outward by the given amount.static voidMoves each edge of the given rectangle outward by the given amount.static voidSwaps the X and Y coordinates of the given rectangle, along with the height and width.static intGeometry.getClosestSide(Rectangle boundary, Point toTest) Returns the edge of the given rectangle is closest to the given point.static intGeometry.getCoordinate(Rectangle toMeasure, boolean width) Returns the x or y coordinates of the given rectangle.static intGeometry.getDimension(Rectangle toMeasure, boolean width) Returns the height or width of the given rectangle.static intGeometry.getDistanceFrom(Rectangle boundary, Point toTest) Returns the distance from the point to the nearest edge of the given rectangle.static intGeometry.getDistanceFromEdge(Rectangle rectangle, Point testPoint, int edgeOfInterest) Returns the distance of the given point from a particular side of the given rectangle.static RectangleGeometry.getExtrudedEdge(Rectangle toExtrude, int size, int orientation) Extrudes the given edge inward by the given distance.static PointGeometry.getLocation(Rectangle toQuery) Returns the x,y position of the given rectangle.static intGeometry.getRelativePosition(Rectangle boundary, Point toTest) Determines where the given point lies with respect to the given rectangle.static PointReturns the size of the rectangle, as a Pointstatic voidGeometry.moveInside(Rectangle inner, Rectangle outer) Repositions the 'inner' rectangle to lie completely within the bounds of the 'outer' rectangle if possible.static voidGeometry.moveRectangle(Rectangle rect, Point delta) Moves the given rectangle by the given delta.static voidNormalizes the given rectangle.static voidSets result equal to toCopystatic voidGeometry.setCoordinate(Rectangle toSet, boolean width, int newCoordinate) Sets one coordinate of the given rectangle.static voidGeometry.setDimension(Rectangle toSet, boolean width, int newCoordinate) Sets one dimension of the given rectangle.static voidGeometry.setLocation(Rectangle rectangle, Point newLocation) Sets the x,y position of the given rectangle.static voidSets the size of the given rectangle to the given sizestatic RectangleReturns a new difference Rectangle whose x, y, width, and height are equal to the difference of the corresponding attributes from the given rectanglesstatic RectangleConverts the given rectangle from display coordinates to the local coordinate system of the given object into display coordinates.static RectangleConverts the given rectangle from the local coordinate system of the given object into display coordinates. -
Uses of Rectangle in org.eclipse.jface.viewers
Methods in org.eclipse.jface.viewers that return RectangleModifier and TypeMethodDescriptionTableViewerRow.getBounds()TableViewerRow.getBounds(int columnIndex) TreeViewerRow.getBounds()TreeViewerRow.getBounds(int columnIndex) ViewerCell.getBounds()Get the bounds of the cell.protected RectangleReturns the bounds of the given SWT tree or table item.abstract RectangleViewerRow.getBounds()Return the bounds for the whole item.abstract RectangleViewerRow.getBounds(int columnIndex) Get the bounds of the entry at the columnIndex,TableViewerRow.getImageBounds(int index) TreeViewerRow.getImageBounds(int index) ViewerCell.getImageBounds()Returns the location and bounds of the area where the image is drawnViewerRow.getImageBounds(int index) Returns the location and bounds of the area where the image is drawn.TableViewerRow.getTextBounds(int index) TreeViewerRow.getTextBounds(int index) ViewerCell.getTextBounds()The location and bounds of the area where the text is drawn depends on various things (image displayed, control with SWT.CHECK)ViewerRow.getTextBounds(int index) The location and bounds of the area where the text is drawn depends on various things (image displayed, control with SWT.CHECK) -
Uses of Rectangle in org.eclipse.jface.window
Methods in org.eclipse.jface.window that return RectangleModifier and TypeMethodDescriptionprotected RectangleWindow.getConstrainedShellBounds(Rectangle preferredSize) Given the desired position of the window, this method returns an adjusted position such that the window is no larger than its monitor, and does not extend beyond the edge of the monitor.Methods in org.eclipse.jface.window with parameters of type RectangleModifier and TypeMethodDescriptionprotected RectangleWindow.getConstrainedShellBounds(Rectangle preferredSize) Given the desired position of the window, this method returns an adjusted position such that the window is no larger than its monitor, and does not extend beyond the edge of the monitor. -
Uses of Rectangle in org.eclipse.jface.wizard
Methods in org.eclipse.jface.wizard that return RectangleModifier and TypeMethodDescriptionWizardDialog.PageContainerFillLayout.getClientArea(Composite c) Returns the client area for the given composite according to this layout. -
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 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.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.CBanner.getClientArea()CTabFolder.getClientArea()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 voidDraw a specifiedpartof the CTabFolder using the providedboundsandGC.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
Subclasses of Rectangle in org.eclipse.swt.graphicsModifier and TypeClassDescriptionstatic classInstances of this class representRectangleobjects which supports values of Float type for it's fieldsstatic final classInstances of this class representRectangle.OfFloatobjects along with the context of the monitor in relation to which they are placed on the display.Methods in org.eclipse.swt.graphics that return RectangleModifier and TypeMethodDescriptionRectangle.clone()Creates and returns a copy of thisRectangle.Device.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, for removal: This API element is subject to removal in a future version.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.static RectangleCreates a newRectangleusing the specified top-left point and dimensions.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 TypeMethodDescriptionvoidDestructively 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.voidAdds 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.voidDestructively 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.voidIntersects 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.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.voidSubtracts 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 RectangleModifierConstructorDescriptionDeprecated, for removal: This API element is subject to removal in a future version.useImage(Device, int, int)instead -
Uses of Rectangle in org.eclipse.swt.internal
Methods in org.eclipse.swt.internal that return RectangleModifier and TypeMethodDescriptionstatic RectangleWin32DPIUtils.pixelToPoint(Drawable drawable, Rectangle rect, int zoom) static RectangleWin32DPIUtils.pixelToPoint(Rectangle rect, int zoom) static RectangleWin32DPIUtils.pointToPixel(Drawable drawable, Rectangle rect, int zoom) static RectangleWin32DPIUtils.pointToPixel(Rectangle rect, int zoom) static RectangleWin32DPIUtils.scaleBounds(Rectangle rect, int targetZoom, int currentZoom) Returns a new rectangle as per the scaleFactor.Methods in org.eclipse.swt.internal with parameters of type RectangleModifier and TypeMethodDescriptionstatic RectangleWin32DPIUtils.pixelToPoint(Drawable drawable, Rectangle rect, int zoom) static RectangleWin32DPIUtils.pixelToPoint(Rectangle rect, int zoom) static RectangleWin32DPIUtils.pointToPixel(Drawable drawable, Rectangle rect, int zoom) static RectangleWin32DPIUtils.pointToPixel(Rectangle rect, int zoom) static RectangleWin32DPIUtils.scaleBounds(Rectangle rect, int targetZoom, int currentZoom) Returns a new rectangle as per the scaleFactor. -
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.Shell.getBounds()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.voidSets the receiver's size and location to the rectangular area specified by the argument.voidSets the receiver's size and location in points to the rectangular area specified by the argument.voidSets the bounds.voidvoidTracker.setRectangles(Rectangle[] rectangles) Specifies the rectangles that should be drawn, expressed relative to the parent widget. -
Uses of Rectangle in org.eclipse.ui.forms.widgets
Methods in org.eclipse.ui.forms.widgets with parameters of type Rectangle -
Uses of Rectangle in org.eclipse.ui.splash
Methods in org.eclipse.ui.splash with parameters of type RectangleModifier and TypeMethodDescriptionprotected voidBasicSplashHandler.setMessageRect(Rectangle messageRect) Set the location of the message text in the splash.protected voidBasicSplashHandler.setProgressRect(Rectangle progressRect) Set the location of the progress bar in the splash. -
Uses of Rectangle in org.eclipse.ui.texteditor
Methods in org.eclipse.ui.texteditor with parameters of type RectangleModifier and TypeMethodDescriptionstatic voidDeprecated.As of 3.0, replaced byImageUtilities.drawImage(Image, GC, Canvas, Rectangle, int)static voidDeprecated.As of 3.0, replaced byImageUtilities.drawImage(Image, GC, Canvas, Rectangle, int, int)voidDefaultMarkerAnnotationAccess.paint(Annotation annotation, GC gc, Canvas canvas, Rectangle bounds) voidvoidDeprecated.