class
AIconTile
- Module
- Arc
- Header
#include "Arc/Widgets/AIconTile.h"- Namespace
Arcf
Public functions
| Returns | Name | Description |
|---|---|---|
ARC_WIDGET_ARGS | ||
float | SnapSize | The design size nearest to size (24, 28, 32, 36, 40). |
float | RadiusFor | |
float | IconSizeFor | |
void | SetIcon | |
void | SetTint | |
float | GetSize | |
ArcVec2 | ComputeDesiredSize | |
int32_t | OnPaint | |
bool | CanCacheDesiredSize | |
const char* | GetTypeName |
Function details
ARC_WIDGET_ARGS
C++
ARC_WIDGET_ARGS(AIconTile) ARC_ARG(std::string, Icon) ARC_ARG(float, Size) ARC_ARG(EArcIconTileTint, Tint) ARC_WIDGET_ARGS_END() void Construct(const CArguments& args)SnapSize
C++
static float SnapSize(float size)The design size nearest to size (24, 28, 32, 36, 40).
RadiusFor
C++
static float RadiusFor(float size)IconSizeFor
C++
static float IconSizeFor(float size)SetIcon
C++
void SetIcon(const std::string& lucideId)SetTint
C++
void SetTint(EArcIconTileTint tint)GetSize
C++
float GetSize() constComputeDesiredSize
C++
ArcVec2 ComputeDesiredSize(float scale) const overrideOnPaint
C++
int32_t OnPaint(const CArcPaintArgs& args, const CGeometry& geo, CArcUIRenderer& renderer, int32_t layerId) const overrideCanCacheDesiredSize
C++
bool CanCacheDesiredSize() const overrideGetTypeName
C++
const char* GetTypeName() const overrideGenerated from Arc/Widgets/AIconTile.h via arc.json · Nov 5, 2026Version 1.0.0