Class GeometricOutlineProvider

java.lang.Object
org.eclipse.gef.common.adapt.IAdaptable.Bound.Impl<IVisualPart<? extends javafx.scene.Node>>
org.eclipse.gef.mvc.fx.providers.GeometricOutlineProvider
All Implemented Interfaces:
Provider<IGeometry>, jakarta.inject.Provider<IGeometry>, IAdaptable.Bound<IVisualPart<? extends javafx.scene.Node>>
Direct Known Subclasses:
GeometricBoundsProvider

public class GeometricOutlineProvider extends IAdaptable.Bound.Impl<IVisualPart<? extends javafx.scene.Node>> implements Provider<IGeometry>
The GeometricOutlineProvider is a Provider <IGeometry> that returns an IGeometry that corresponds to the geometric outline of its host visual, i.e. it does not include the stroke of the visual or other visual properties (e.g. clip or effect). The IGeometry is specified within the local coordinate system of the host visual.

A GeometricOutlineProvider can be used to determine an IGeometry for a GeometryNode, a Connection, as well as the following JavaFX Node implementations:

  • Arc
  • Circle
  • CubicCurve
  • Ellipse
  • Line
  • Path
  • Polygon
  • Polyline
  • QuadCurve
  • Rectangle
  • Constructor Details

    • GeometricOutlineProvider

      public GeometricOutlineProvider()
  • Method Details