Package com.luciad.view.gxy
Interface ILcdGXYPainterStyle
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
TLcdCGMFillGXYPainterStyle,TLcdCGMLineGXYPainterStyle,TLcdDGNGXYFillStyle,TLcdDGNGXYFontStyle,TLcdDGNGXYLineStyle,TLcdDGNGXYOutlineStyle,TLcdDWGGXYFillStyle,TLcdDWGGXYFontStyle,TLcdDWGGXYLineStyle,TLcdG2DLineStyle,TLcdGXYHatchedFillStyle,TLcdGXYPainterColorStyle,TLcdGXYPainterFontStyle,TLcdMapG2DLineStyle,TLcdMIFBrushGXYPainterStyle,TLcdMIFPenGXYPainterStyle,TLcdMIFTextGXYFillStyle,TLcdMIFTextGXYFontStyle,TLcdStrokeLineStyle,TLcyG2DLineStyle
An
ILcdGXYPainterStyle tells an ILcdGXYPainter
how to set up the drawing properties of a Graphics (e.g. Color, Stroke, etc)
before painting an Object in a given mode and ILcdGXYContext.- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionvoidsetupGraphics(Graphics aGraphics, Object aObject, int aMode, ILcdGXYContext aGXYContext) Set upaGraphicsbefore painting aObject.
-
Method Details
-
setupGraphics
Set upaGraphicsbefore painting aObject. For example, if(aMode & ILcdGXYPainter.SELECTED) != 0, you may want to callaGraphics.setColor(Color.red)for instance, to see the selected representation of a aObject in red.- Parameters:
aGraphics- theGraphicsto set up.aObject- theObjectto paint.aMode- the painting mode to consider (defined inILcdGXYPainter).aGXYContext- theILcdGXYContextto consider.- See Also:
-