The margin of the Element in points.

Margin controls the distance from the edges of an element to the corresponding edges of its container.

Margin is made up of 4 values; one for each edge of the element. In order, they are left, top, right, and bottom. In UX, they are specified as a comma-separated list:

<Panel Margin="10,20,30,40" />

They can also be specified in a shortened form:

<Panel Margin="10" /> <!-- is expanded to "10,10,10,10" -->
<Panel Margin="10,20" /> <!-- is expanded to "10,20,10,20" -->

See Layout for more details.

Location

Namespace
Fuse.Elements
Package
Fuse.Elements 1.9.0

Returns

float4