[]
        
(Showing Draft Content)

FarPoint.Win.Text.DrawTextArgs.-ctor

DrawTextArgs Constructor

DrawTextArgs(Graphics, string, Font, Color, RectangleF)

Creates Draw Text arguments.

Declaration
public DrawTextArgs(Graphics g, string text, Font font, Color foreColor, RectangleF rectangle)
Public Sub New(g As Graphics, text As String, font As Font, foreColor As Color, rectangle As RectangleF)
Parameters
Type Name Description
Graphics g

Graphics device interface for painting the text.

string text

Text to draw.

Font font

Font of the text.

Color foreColor

Color of the text.

RectangleF rectangle

Bounding rectangle of the text.