Uses of Class
org.eclipse.draw2d.Graphics
Packages that use Graphics
Package
Description
Primary package containing general interfaces and implementation classes.
This package contains some complex parts used with Draw2d.
Figures and support classes related to the layout and rendering of rich text.
- 
Uses of Graphics in org.eclipse.draw2dSubclasses of Graphics in org.eclipse.draw2dModifier and TypeClassDescriptionclassA scalable graphics object used to print to a printer.classA Graphics object able to scale all operations based on the current scale factor.classA concrete implementation ofGraphicsusing an SWTGC.Methods in org.eclipse.draw2d that return GraphicsModifier and TypeMethodDescriptionprotected GraphicsPrintOperation.createGraphics(SWTGraphics g, Printer p) protected GraphicsPrintOperation.getFreshGraphics()Returns a new Graphics setup for the Printer associated with this PrintOperation.protected GraphicsDeferredUpdateManager.getGraphics(Rectangle region) Returns a Graphics object for the given region.GraphicsSource.getGraphics(Rectangle region) Returns a Graphics for the rectangular region requested.NativeGraphicsSource.getGraphics(Rectangle r) Always returnsnull, becauseMethods in org.eclipse.draw2d with parameters of type GraphicsModifier and TypeMethodDescriptionprotected voidToggleButton.fillCheckeredRectangle(Graphics graphics) Draws a checkered pattern to emulate a toggle button that is in the selected state.protected voidFills the ellipse.protected voidFill the Polygon with the background color set by g.protected voidprotected voidNull implementation for a line.protected voidprotected voidprotected voidprotected voidprotected abstract voidFills the interior of the shape with the background color.protected voidprotected voidEllipse.outlineShape(Graphics graphics) Outlines the ellipse.protected voidPolygon.outlineShape(Graphics g) Draw the outline of the Polygon.protected voidPolygonShape.outlineShape(Graphics graphics) protected voidPolyline.outlineShape(Graphics g) protected voidPolylineShape.outlineShape(Graphics graphics) protected voidRectangleFigure.outlineShape(Graphics graphics) protected voidRoundedRectangle.outlineShape(Graphics graphics) protected voidScalablePolygonShape.outlineShape(Graphics graphics) protected abstract voidShape.outlineShape(Graphics graphics) Outlines this shape using the foreground color.protected voidTriangle.outlineShape(Graphics g) voidPaints the border.voidPaints the border.voidPaints this border with the help of the set scheme, the model of the clickable figure, and other inputs.voidvoidfinal voidvoidPaints this Figure and its children.voidPaints a focus rectangle.voidvoidPaints this IFigure and its children.voidvoidThis method does nothing, since this border is just for spacing.protected voidPaints the border using the information in the set Scheme and the inputs given.voidvoidvoidvoidvoidAbstractBackground.paintBackground(IFigure figure, Graphics graphics, Insets insets) Called when this Background should paint.protected voidClickable.paintBorder(Graphics graphics) If this Clickable has focus, this method paints a focus rectangle.protected voidFigure.paintBorder(Graphics graphics) Paints the border associated with this Figure, if one exists.protected voidFigure.paintChildren(Graphics graphics) Paints this Figure's children.protected voidClickable.paintClientArea(Graphics graphics) Paints the area of this figure excluded by the borders.protected voidFigure.paintClientArea(Graphics graphics) Paints this Figure's client area.protected voidScalableFreeformLayeredPane.paintClientArea(Graphics graphics) protected voidScalableLayeredPane.paintClientArea(Graphics graphics) protected voidViewport.paintClientArea(Graphics g) static voidFigureUtilities.paintEtchedBorder(Graphics g, Rectangle r) Paints a border with an etching effect, having a shadow of a darker version of g's background color, and a highlight a lighter version of g's background color.static voidFigureUtilities.paintEtchedBorder(Graphics g, Rectangle r, Color shadow, Color highlight) Paints a border with an etching effect, having a shadow of Color shadow and highlight of Color highlight.protected voidFigure.paintFigure(Graphics graphics) Paints this Figure's primary representation, or background.protected voidGhostImageFigure.paintFigure(Graphics graphics) protected voidImageFigure.paintFigure(Graphics graphics) protected voidLabel.paintFigure(Graphics graphics) voidShape.paintFigure(Graphics graphics) Paints the shape.protected voidToggleButton.paintFigure(Graphics graphics) static voidHelper method to paint a grid.protected voidDeferredUpdateManager.releaseGraphics(Graphics graphics) Releases the graphics object, which causes the GraphicsSource to flush.protected voidPrintOperation.setupGraphicsForPage(Graphics g) Manipulates the PrinterGraphics to position it to paint in the desired region of the page.protected voidPrintFigureOperation.setupPrinterGraphicsFor(Graphics graphics, IFigure figure) Sets up Graphics object for the given IFigure.Constructors in org.eclipse.draw2d with parameters of type GraphicsModifierConstructorDescriptionPrinterGraphics(Graphics g, Printer p) Creates a new PrinterGraphics with Graphics g, using Printer pConstructs a new ScaledGraphics based on the given Graphics object.
- 
Uses of Graphics in org.eclipse.draw2d.partsMethods in org.eclipse.draw2d.parts with parameters of type Graphics
- 
Uses of Graphics in org.eclipse.draw2d.textMethods in org.eclipse.draw2d.text with parameters of type GraphicsModifier and TypeMethodDescriptionfinal voidThis method is not called on FlowBorders.voidAbstractFlowBorder.paint(FlowFigure figure, Graphics g, Rectangle where, int sides) Subclasses should override this method to paint each box's border.voidFlowBorder.paint(FlowFigure figure, Graphics g, Rectangle where, int sides) Paints the border around the given box location.voidBlockFlow.paintBorder(Graphics graphics) protected voidInlineFlow.paintBorder(Graphics graphics) Overridden to paint aFlowBorderif present, and draw selection.protected voidTextFlow.paintFigure(Graphics g) protected voidInlineFlow.paintSelection(Graphics graphics) Renders the XOR selection rectangles to the graphics.protected voidTextFlow.paintSelection(Graphics graphics) protected void