Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/FCanvas
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void DrawTile
(
double X, |
Draw arbitrary aligned rectangle. | CanvasTypes.h | |
void DrawTile
(
double X, |
CanvasTypes.h |
DrawTile(double, double, double, double, float, float, float, float, const FLinearColor &, const FTexture *, bool)
Description
Draw arbitrary aligned rectangle.
| Name | DrawTile |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Public/CanvasTypes.h |
| Include Path | #include "CanvasTypes.h" |
| Source | /Engine/Source/Runtime/Engine/Private/UserInterface/Canvas.cpp |
void DrawTile
(
double X,
double Y,
double SizeX,
double SizeY,
float U,
float V,
float SizeU,
float SizeV,
const FLinearColor & Color,
const FTexture * Texture,
bool AlphaBlend
)
Parameters
| Name | Remarks |
|---|---|
| X | X position to draw tile at |
| Y | Y position to draw tile at |
| SizeX | Width of tile |
| SizeY | Height of tile |
| U | Horizontal position of the upper left corner of the portion of the texture to be shown(texels) |
| V | Vertical position of the upper left corner of the portion of the texture to be shown(texels) |
| SizeU | The width of the portion of the texture to be drawn. This value is in texels. |
| SizeV | The height of the portion of the texture to be drawn. This value is in texels. |
| Color | tint applied to tile |
| Texture | Texture to draw |
| AlphaBlend | true to alphablend |
DrawTile(double, double, double, double, float, float, float, float, const FLinearColor &, const FTexture *, ESimpleElementBlendMode)
| Name | DrawTile |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Public/CanvasTypes.h |
| Include Path | #include "CanvasTypes.h" |
| Source | /Engine/Source/Runtime/Engine/Private/UserInterface/Canvas.cpp |
void DrawTile
(
double X,
double Y,
double SizeX,
double SizeY,
float U,
float V,
float SizeU,
float SizeV,
const FLinearColor & Color,
const FTexture * Texture,
ESimpleElementBlendMode BlendMode
)