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

public interface ILcdGXYPainterStyle extends Serializable
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 Type
    Method
    Description
    void
    setupGraphics(Graphics aGraphics, Object aObject, int aMode, ILcdGXYContext aGXYContext)
    Set up aGraphics before painting aObject.
  • Method Details

    • setupGraphics

      void setupGraphics(Graphics aGraphics, Object aObject, int aMode, ILcdGXYContext aGXYContext)
      Set up aGraphics before painting aObject. For example, if (aMode & ILcdGXYPainter.SELECTED) != 0, you may want to call aGraphics.setColor(Color.red) for instance, to see the selected representation of a aObject in red.
      Parameters:
      aGraphics - the Graphics to set up.
      aObject - the Object to paint.
      aMode - the painting mode to consider (defined in ILcdGXYPainter).
      aGXYContext - the ILcdGXYContext to consider.
      See Also: