Draws the specified text string in the specified rectangle with the specified [t:PerpetuumSoft.Framework.Drawing.Fill] and Font objects using the alignment of the specified ContentAlignment object.
Namespace:
PerpetuumSoft.Framework.DrawingAssembly: PerpetuumSoft.Framework (in PerpetuumSoft.Framework.dll) Version: 3.9.0.1
Syntax
C# |
---|
public void DrawText( string str, FontDescriptor fontDescriptor, Fill fill, VectorRectangle layoutRect, ContentAlignment align ) |
Visual Basic (Declaration) |
---|
Public Sub DrawText ( _ str As String, _ fontDescriptor As FontDescriptor, _ fill As Fill, _ layoutRect As VectorRectangle, _ align As ContentAlignment _ ) |
Visual C++ |
---|
public: void DrawText( String^ str, FontDescriptor^ fontDescriptor, Fill^ fill, VectorRectangle layoutRect, ContentAlignment align ) |
Parameters
- str
- Type: System..::.String
- fontDescriptor
- Type: PerpetuumSoft.Framework.Drawing..::.FontDescriptor
- fill
- Type: PerpetuumSoft.Framework.Drawing..::.Fill
- layoutRect
- Type: PerpetuumSoft.Framework.Drawing..::.VectorRectangle
- align
- Type: System.Drawing..::.ContentAlignment