struct

ArcMargin

Module
Arc
Header
#include "Arc/Core/ArcGeometry.h"
Namespace
Arcf

Properties

TypeNameDescription
floatLeftDefault 0.0f.
floatTopDefault 0.0f.
floatRightDefault 0.0f.
floatBottomDefault 0.0f.

Constructors

SignatureNameDescription
ArcMargin() = defaultArcMargin
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

ReturnsNameDescription
floatHorizontal
floatVertical
ArcVec2TopLeft
ArcVec2GetSize
booloperator==
booloperator!=

Function details

ArcMargin

C++
ArcMargin() = default

ArcMargin

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() const

Vertical

C++
float Vertical() const

TopLeft

C++
ArcVec2 TopLeft() const

GetSize

C++
ArcVec2 GetSize() const

operator==

C++
bool operator==(const ArcMargin& other) const

operator!=

C++
bool operator!=(const ArcMargin& other) const
Generated from Arc/Core/ArcGeometry.h via arc.json · Nov 5, 2026Version 1.0.0