struct
ArcMargin
- Module
- Arc
- Header
#include "Arc/Core/ArcGeometry.h"- Namespace
Arcf
Properties
| Type | Name | Description |
|---|---|---|
float | Left | Default 0.0f. |
float | Top | Default 0.0f. |
float | Right | Default 0.0f. |
float | Bottom | Default 0.0f. |
Constructors
| Signature | Name | Description |
|---|---|---|
ArcMargin() = default | ArcMargin | |
constexpr explicit ArcMargin(float uniform) : Left(uniform), Top(uniform), Right… | ArcMargin | |
constexpr ArcMargin(float lr, float tb) : Left(lr), Top(tb), Right(lr), Bottom(t… | ArcMargin | |
constexpr ArcMargin(float l, float t, float r, float b) : Left(l), Top(t), Right… | ArcMargin |
Public functions
| Returns | Name | Description |
|---|---|---|
float | Horizontal | |
float | Vertical | |
ArcVec2 | TopLeft | |
ArcVec2 | GetSize | |
bool | operator== | |
bool | operator!= |
Function details
ArcMargin
C++
ArcMargin() = defaultArcMargin
C++
constexpr explicit ArcMargin(float uniform) : Left(uniform), Top(uniform), Right(uniform), Bottom(uniform)ArcMargin
C++
constexpr ArcMargin(float lr, float tb) : Left(lr), Top(tb), Right(lr), Bottom(tb)ArcMargin
C++
constexpr ArcMargin(float l, float t, float r, float b) : Left(l), Top(t), Right(r), Bottom(b)Horizontal
C++
float Horizontal() constVertical
C++
float Vertical() constTopLeft
C++
ArcVec2 TopLeft() constGetSize
C++
ArcVec2 GetSize() constoperator==
C++
bool operator==(const ArcMargin& other) constoperator!=
C++
bool operator!=(const ArcMargin& other) constGenerated from Arc/Core/ArcGeometry.h via arc.json · Nov 5, 2026Version 1.0.0