Navigation
Unreal Engine C++ API Reference > Runtime > Engine > FCanvasLineItem > Draw
References
Module | Engine |
Header | /Engine/Source/Runtime/Engine/Public/CanvasItem.h |
Include | #include "CanvasItem.h" |
virtual void Draw
&40;
FCanvas &42; InCanvas,
const FVector2D & InStartPos,
const FVector2D & InEndPos
&41;
Remarks
Draw line using the given coordinates.
Parameters
Name | Description |
---|---|
InCanvas | Canvas on which to draw |
InStartPos | Line start position |
InEndPos | Line end position |