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