DrawMode property (Main Control)
Builder Syntax |
Graphics::TPenMode DrawMode |
Delphi Syntax |
DrawMode: TPenMode |
Overview |
Refer to Drawing Simple Objects. |
Remarks
(Persistent property, available at design time) Determines how each pixel of a drawing object is combined with the existing pixel on the target surface (the screen or bitmap, as specified by the DrawPersistence property).
For normal drawing, use pmCopy. The DrawPenColor property specifies the pen color. For rubberband-style interactive display, use pmNot(as shown in the code example).
For a list of available mode values, refer to your C++ Builder or Delphi documentation. In C++ Builder, search for TPen. In Delphi, search for pens, select Using pens and click on Mode.
See Also
Topics: |
|
|