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.draw2d
Subclasses of Graphics in org.eclipse.draw2dModifier and TypeClassDescriptionclass
A scalable graphics object used to print to a printer.class
A Graphics object able to scale all operations based on the current scale factor.class
A concrete implementation ofGraphics
using an SWTGC
.Methods in org.eclipse.draw2d that return GraphicsModifier and TypeMethodDescriptionprotected Graphics
DeferredUpdateManager.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 void
ToggleButton.fillCheckeredRectangle
(Graphics graphics) Draws a checkered pattern to emulate a toggle button that is in the selected state.protected void
Fills the ellipse.protected void
Fill the Polygon with the background color set by g.protected void
protected void
Null implementation for a line.protected void
protected void
protected void
protected void
protected abstract void
Fills the interior of the shape with the background color.protected void
protected void
Ellipse.outlineShape
(Graphics graphics) Outlines the ellipse.protected void
Polygon.outlineShape
(Graphics g) Draw the outline of the Polygon.protected void
PolygonShape.outlineShape
(Graphics graphics) protected void
Polyline.outlineShape
(Graphics g) protected void
PolylineShape.outlineShape
(Graphics graphics) protected void
RectangleFigure.outlineShape
(Graphics graphics) protected void
RoundedRectangle.outlineShape
(Graphics graphics) protected void
ScalablePolygonShape.outlineShape
(Graphics graphics) protected abstract void
Shape.outlineShape
(Graphics graphics) Outlines this shape using the foreground color.protected void
Triangle.outlineShape
(Graphics g) void
Paints the border.void
Paints the border.void
Paints this border with the help of the set scheme, the model of the clickable figure, and other inputs.void
void
final void
void
Paints this Figure and its children.void
Paints a focus rectangle.void
void
Paints this IFigure and its children.void
void
This method does nothing, since this border is just for spacing.protected void
Paints the border using the information in the set Scheme and the inputs given.void
void
void
void
void
AbstractBackground.paintBackground
(IFigure figure, Graphics graphics, Insets insets) Called when this Background should paint.protected void
Clickable.paintBorder
(Graphics graphics) If this Clickable has focus, this method paints a focus rectangle.protected void
Figure.paintBorder
(Graphics graphics) Paints the border associated with this Figure, if one exists.protected void
Figure.paintChildren
(Graphics graphics) Paints this Figure's children.protected void
Clickable.paintClientArea
(Graphics graphics) Paints the area of this figure excluded by the borders.protected void
Figure.paintClientArea
(Graphics graphics) Paints this Figure's client area.protected void
ScalableFreeformLayeredPane.paintClientArea
(Graphics graphics) protected void
ScalableLayeredPane.paintClientArea
(Graphics graphics) protected void
Viewport.paintClientArea
(Graphics g) static void
FigureUtilities.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 void
FigureUtilities.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 void
Figure.paintFigure
(Graphics graphics) Paints this Figure's primary representation, or background.protected void
GhostImageFigure.paintFigure
(Graphics graphics) protected void
ImageFigure.paintFigure
(Graphics graphics) protected void
Label.paintFigure
(Graphics graphics) void
Shape.paintFigure
(Graphics graphics) Paints the shape.protected void
ToggleButton.paintFigure
(Graphics graphics) static void
Helper method to paint a grid.protected void
DeferredUpdateManager.releaseGraphics
(Graphics graphics) Releases the graphics object, which causes the GraphicsSource to flush.protected void
PrintFigureOperation.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.parts
Methods in org.eclipse.draw2d.parts with parameters of type Graphics -
Uses of Graphics in org.eclipse.draw2d.text
Methods in org.eclipse.draw2d.text with parameters of type GraphicsModifier and TypeMethodDescriptionfinal void
This method is not called on FlowBorders.void
AbstractFlowBorder.paint
(FlowFigure figure, Graphics g, Rectangle where, int sides) Subclasses should override this method to paint each box's border.void
FlowBorder.paint
(FlowFigure figure, Graphics g, Rectangle where, int sides) Paints the border around the given box location.void
BlockFlow.paintBorder
(Graphics graphics) protected void
InlineFlow.paintBorder
(Graphics graphics) Overridden to paint aFlowBorder
if present, and draw selection.protected void
TextFlow.paintFigure
(Graphics g) protected void
InlineFlow.paintSelection
(Graphics graphics) Renders the XOR selection rectangles to the graphics.protected void
TextFlow.paintSelection
(Graphics graphics) protected void