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