Navigation
API > API/Runtime > API/Runtime/Engine
Resizable 3x3 border item.
| Name | FCanvasBorderItem |
| Type | class |
| Header File | /Engine/Source/Runtime/Engine/Public/CanvasItem.h |
| Include Path | #include "CanvasItem.h" |
Syntax
class FCanvasBorderItem : public FCanvasItem
Inheritance Hierarchy
- FCanvasItem → FCanvasBorderItem
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FCanvasBorderItem
(
const FVector2D& InPosition, |
3x3 grid border with tiled frame and tiled interior. | CanvasItem.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| BackgroundScale | FVector2D | Scale of the border | CanvasItem.h | |
| BackgroundTexture | const FTexture * | Background tiling texture. | CanvasItem.h | |
| BorderBottomTexture | const FTexture * | Border bottom tiling texture. | CanvasItem.h | |
| BorderLeftTexture | const FTexture * | Border left tiling texture. | CanvasItem.h | |
| BorderRightTexture | const FTexture * | Border right tiling texture. | CanvasItem.h | |
| BorderScale | FVector2D | Scale of the border | CanvasItem.h | |
| BorderTexture | const FTexture * | Corners texture. | CanvasItem.h | |
| BorderTopTexture | const FTexture * | Border top tiling texture. | CanvasItem.h | |
| BorderUV0 | FVector2D | Border UV Coordinates 0 (Left/Top). | CanvasItem.h | |
| BorderUV1 | FVector2D | Border UV Coordinates 1 (Right/Bottom). | CanvasItem.h | |
| CornerSize | FVector2D | Frame corner size in percent of frame texture (should be < 0.5f) | CanvasItem.h | |
| PivotPoint | FVector2D | Pivot point. | CanvasItem.h | |
| Rotation | FRotator | Rotation. | CanvasItem.h | |
| Size | FVector2D | Size of the border. | CanvasItem.h | |
| Z | float | Used to calculate depth. | CanvasItem.h |
Functions
Public
Overridden from FCanvasItem
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Draw the item at the given coordinates. | CanvasItem.h | ||
| Expose the functions defined in the base class. | CanvasItem.h | ||
| Expose the functions defined in the base class. | CanvasItem.h | ||
virtual void SetColor
(
const FLinearColor& InColor |
Set the Color of the item. | CanvasItem.h |