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 TypeMethodDescriptionvoid
setupGraphics
(Graphics aGraphics, Object aObject, int aMode, ILcdGXYContext aGXYContext) Set upaGraphics
before painting aObject.
-
Method Details
-
setupGraphics
Set upaGraphics
before 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
- theGraphics
to set up.aObject
- theObject
to paint.aMode
- the painting mode to consider (defined inILcdGXYPainter
).aGXYContext
- theILcdGXYContext
to consider.- See Also:
-