Package com.luciad.view.gxy.painter
Interface ILcdGXYPathPainter
- All Superinterfaces:
Cloneable,ILcdCloneable,ILcdGXYPainter,ILcdPropertyChangeSource,Serializable
- All Known Implementing Classes:
TLcdGXYAISPointListPainter,TLcdGXYArcBandPainter,TLcdGXYArcPainter,TLcdGXYAreaShapeListPainter,TLcdGXYBoundsPainter,TLcdGXYCircleBy3PointsPainter,TLcdGXYCirclePainter,TLcdGXYCircularArcPainter,TLcdGXYCompositeCurvePainter,TLcdGXYCompositeRingPainter,TLcdGXYEllipsePainter,TLcdGXYPointListPainter,TLcdGXYPointShapeListPainter,TLcdGXYPolylineShapeListPainter,TLcdGXYRoundedPointListPainter,TLcdGXYRoutePainter,TLcdGXYShapeListPainter,TLcdGXYShapePainter,TLcdGXYSurfacePainter,TLcdMagneticNorthGXYPainter,TLcdPOLPainter,TLcdVPFPointListPainter
Painter that can discretize shapes into
ILcdAWTPath and ILcdGeneralPath instances,
enabling them to be used in more complex shapes.- Since:
- 9.0
-
Field Summary
Fields inherited from interface com.luciad.view.gxy.ILcdGXYPainter
BODY, CREATING, DEFAULT, HANDLES, RESHAPING, SELECTED, SNAPS, TRANSLATING -
Method Summary
Modifier and TypeMethodDescriptionbooleanappendAWTPath(ILcdGXYContext aGXYContext, int aRenderMode, ILcdAWTPath aAWTPathSFCT) Appends a discretized representation in view coordinates to the given path.booleanappendGeneralPath(ILcdGXYContext aGXYContext, int aRenderMode, ILcdGeneralPath aGeneralPathSFCT) Appends a discretized representation in world coordinates to the given path.Methods inherited from interface com.luciad.util.ILcdCloneable
cloneMethods inherited from interface com.luciad.view.gxy.ILcdGXYPainter
anchorPointSFCT, boundsSFCT, getCursor, getDisplayName, getObject, isTouched, paint, setObject, snapTarget, supportSnapMethods inherited from interface com.luciad.util.ILcdPropertyChangeSource
addPropertyChangeListener, removePropertyChangeListener
-
Method Details
-
appendAWTPath
Appends a discretized representation in view coordinates to the given path.- Parameters:
aGXYContext- the graphics contextaRenderMode- the rendering modeaAWTPathSFCT- the path to append to- Returns:
- true if a discretization of the shape could be successfully appended to the path
-
appendGeneralPath
boolean appendGeneralPath(ILcdGXYContext aGXYContext, int aRenderMode, ILcdGeneralPath aGeneralPathSFCT) Appends a discretized representation in world coordinates to the given path.- Parameters:
aGXYContext- the graphics contextaRenderMode- the rendering modeaGeneralPathSFCT- the path to append to- Returns:
- true if a discretization of the shape could be successfully appended to the path
-