Navigation
API > API/Runtime > API/Runtime/Engine
Line item. Note blend mode will be disregarded for these - only SE_BLEND_Opaque is currently supported.
| Name | FCanvasLineItem |
| Type | class |
| Header File | /Engine/Source/Runtime/Engine/Public/CanvasItem.h |
| Include Path | #include "CanvasItem.h" |
Syntax
class FCanvasLineItem : public FCanvasItem
Inheritance Hierarchy
- FCanvasItem → FCanvasLineItem
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| CanvasItem.h | |||
FCanvasLineItem
(
const FVector2D& InPosition, |
A Line. | CanvasItem.h | |
FCanvasLineItem
(
const FVector& InPosition, |
A Line. | CanvasItem.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| EndPos | FVector | The end position of the line. | CanvasItem.h | |
| LineThickness | float | The thickness of the line. | CanvasItem.h | |
| Origin | FVector | The origin of the line. | CanvasItem.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Draw line at the given coordinates. | CanvasItem.h | ||
| Draw line using the given coordinates. | CanvasItem.h | ||
| Draw line at the given coordinates. | CanvasItem.h | ||
void SetEndPos
(
const FVector2D& InEndPos |
Set the line end position. | CanvasItem.h |
Overridden from FCanvasItem
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Draw line at the given coordinates. | CanvasItem.h | ||
| Draw line at the given coordinates. | CanvasItem.h | ||
| Draw line at the given coordinates. | CanvasItem.h |