Clears graphics and text from the alpha plane and resets the plane to the fully transparent state.
The following VB example moves a transparent red rectangle over the live image by repeatedly erasing and drawing it:
Dim x As Integer
Private Sub Form_Load()
x = 0
ActiveDcam1.Acquire = True
ActiveDcam1.Alpha = True
Private Sub ActiveDcam1_FrameAcquired()
ActiveDcam1.DrawAlphaRectangle x, 10, x + 50, 80, 0, 255,0,0,50
x = x + 2
If x = ActiveDcam1.SizeX Then
x = 0
To create animation effects, use this method in combination with DrawAlphaPixel, DrawAlphaLine, DrawAlphaRectangle, DrawAlphaEllipse, DrawAlphaText. For more information on the alpha-plane drawing refer to Alpha.