Humboldt Alignment Editor 2.5.0

eu.esdihumboldt.hale.ui.util.graph
Interface CustomShapeFigure.ShapePainter

All Known Implementing Classes:
AbstractPolygonPainter, FingerPost, StretchedHexagon, TransformationNodeShape
Enclosing class:
CustomShapeFigure

public static interface CustomShapeFigure.ShapePainter

Paints fill and outline of a shape and provides corresponding insets.


Method Summary
 void fillShape(org.eclipse.draw2d.Graphics graphics, org.eclipse.draw2d.geometry.Rectangle bounds)
          Fills the interior of the shape.
 org.eclipse.draw2d.geometry.Insets getInsets()
          Get the shape insets.
 void outlineShape(org.eclipse.draw2d.Graphics graphics, org.eclipse.draw2d.geometry.Rectangle bounds)
          Outlines the shape.
 

Method Detail

fillShape

void fillShape(org.eclipse.draw2d.Graphics graphics,
               org.eclipse.draw2d.geometry.Rectangle bounds)
Fills the interior of the shape.

Parameters:
graphics - the graphics object
bounds - the figure bounds, may not be modified

outlineShape

void outlineShape(org.eclipse.draw2d.Graphics graphics,
                  org.eclipse.draw2d.geometry.Rectangle bounds)
Outlines the shape.

Parameters:
graphics - the graphics object
bounds - the figure bounds, may not be modified

getInsets

org.eclipse.draw2d.geometry.Insets getInsets()
Get the shape insets.

Returns:
the shape insets

Humboldt Alignment Editor 2.5.0

Build 2012-12-03_12-30-59
Revision 9d2dd4b0318cda9f1393b1ddd390f7f792d70a2d