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
ActiveGeni1.Acquire = True
ActiveGeni1.Alpha = True
Private Sub ActiveGeni1_FrameAcquired()
ActiveGeni1.DrawAlphaRectangle x, 10, x + 50, 80, 0, 255,0,0,50
x = x + 2
If x = ActiveGeni1.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.