Paint.DrawRichTextShadow (gb.qt4)

Static Sub DrawRichTextShadow ( Text As String, X As Float, Y As Float, W As Float, H As Float [ , Alignment As Integer, Radius As Integer, Opacity As Float ] )

Draw the shadow of a rich text.

  • X, Y, W and H define a rectangle where the rich text will be drawn.

  • Alignment defines the text alignment, Align.TopLeft by default.

  • Radius is the blur radius in pixels. By default, it is 1/8th of the font height.

  • Opacity is the opacity of the blur between 0.0 and 1.0. By default it is 0.5 (50% transparent).

You must call Paint.DrawRichText to draw the real text below the shadow.