Construct Rml::Box, optionally setting its content size.
contentOptionalContent size; omitted means zero.
Static ReadonlynumRml::Box::num_areas: three outer areas, excluding content.
Static ReadonlynumRml::Box::num_edges: four edges per area.
Shared content size in x, y order.
Writable native view, retained independently of this wrapper.
Shared edges: Margin, Border, Padding; each Top, Right, Bottom, Left.
Twelve writable floats; index is area * 4 + edge.
Copy this Rml::Box into independent native storage.
Independent box value.
Native Rml::Box equality, including exact edge bits.
otherBox to compare.
Native operator== result.
Rml::Box::GetFrameSize, excluding inner areas.
areaArea to measure; Content returns content size.
Owned frame-size snapshot.
Rml::Box::GetPosition relative to the border area's top-left corner.
areaRequested area; defaults to Content. Auto is invalid.
Owned position snapshot.
Rml::Box::GetSize, optionally including surrounding areas.
areaOptionalOutermost area; omitted means content. Auto is invalid.
Owned size snapshot.
Rml::Box::GetSizeAcross over an inclusive range of areas.
directionHorizontal or vertical axis.
areaOutermost included area.
areaEndInnermost included area; defaults to Content.
Size along the selected axis.
Native Rml::Box inequality.
otherBox to compare.
Native operator!= result.
Rml::Box::SetContent; updates the shared content view.
contentFinite content size.
Native-owned Rml::Box value with writable shared numerical fields.
Remarks
Element queries copy the box. Changes take effect on an element only through setBox or addBox. Views retain this value, never an element or runtime. Use finite values; native queries and element setters reject non-finite shared fields. Negative margins retain their upstream meaning.