Navigation
API > API/Runtime > API/Runtime/UMG > API/Runtime/UMG/Blueprint > API/Runtime/UMG/Blueprint/UWidgetBlueprintLibrary
References
| Module | UMG |
| Header | /Engine/Source/Runtime/UMG/Public/Blueprint/WidgetBlueprintLibrary.h |
| Include | #include "Blueprint/WidgetBlueprintLibrary.h" |
| Source | /Engine/Source/Runtime/UMG/Private/WidgetBlueprintLibrary.cpp |
static void DrawLine
&40;
FPaintContext & Context,
FVector2D PositionA,
FVector2D PositionB,
FLinearColor Tint,
bool bAntiAlias,
float Thickness
&41;
Remarks
Draws a line.
Parameters
| Name | Description |
|---|---|
| PositionA | Starting position of the line in local space. |
| PositionB | Ending position of the line in local space. |
| Tint | Color to render the line. |
| bAntialias | Whether the line should be antialiased. |
| Thickness | How many pixels thick this line should be. |