PaintMaxPasses property (Main Control)
Builder Syntax |
Cardinal PaintMaxPasses |
Delphi Syntax |
PaintMaxPasses : Cardinal |
Overview |
Refer to Using Special Effects When Painting. |
Remarks
(Persistent property, available at design time) Maximum passes for a pattern brush when implementing a paint effect or transition effect. Use 1 for painting in one pass. Multipass painting for the EFX_EFFECT_PUSH_CLASS is disabled.
If you specify more than one pass, a pattern brush paints some of the pixels on each pass, and the painting is complete when you finish all of the passes. The OnPaintNotify event, which occurs before painting and after each pass, lets you change the behavior of the effect before it finishes.
See Also
Elements: |
PaintEffect property, TransitionEffect property, PaintPass property, OnPaintNotify event, PaintNotificationDelay property |
Topics: |