Class PathBorder
- java.lang.Object
-
- org.eclipse.draw2d.AbstractBorder
-
- org.eclipse.draw2d.LineBorder
-
- com._1c.g5.v8.dt.common.gef.figures.borders.PathBorder
-
- All Implemented Interfaces:
org.eclipse.draw2d.Border
public class PathBorder extends org.eclipse.draw2d.LineBorder
-
-
Constructor Summary
Constructors Constructor Description PathBorder(IPathProvider path)
Constructs a default black PathBorder with a width of one pixel.PathBorder(IPathProvider path, org.eclipse.swt.graphics.Color color, int width, int style)
Constructs a PathBorder with the specified color and of the specified width and style.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
paint(org.eclipse.draw2d.IFigure figure, org.eclipse.draw2d.Graphics graphics, org.eclipse.draw2d.geometry.Insets insets)
-
-
-
Constructor Detail
-
PathBorder
public PathBorder(IPathProvider path)
Constructs a default black PathBorder with a width of one pixel.- See Also:
IPathProvider
-
PathBorder
public PathBorder(IPathProvider path, org.eclipse.swt.graphics.Color color, int width, int style)
Constructs a PathBorder with the specified color and of the specified width and style.- Parameters:
color
- The color of the border.width
- The width of the border in pixels.style
- The style of the border. For the list of valid values, seeGraphics
- See Also:
IPathProvider
,Path
-
-
Method Detail
-
paint
public void paint(org.eclipse.draw2d.IFigure figure, org.eclipse.draw2d.Graphics graphics, org.eclipse.draw2d.geometry.Insets insets)
- Specified by:
paint
in interfaceorg.eclipse.draw2d.Border
- Overrides:
paint
in classorg.eclipse.draw2d.LineBorder
- See Also:
Border.paint(IFigure, Graphics, Insets)
-
-