public struct LayoutResultWhat one layout pass decided about a node.
No guide page documents this yet — the page shows what the code says about itself.
Remarks
Everything here is physical and resolved — the flow-relative reasoning happens inside the algorithm and does not survive it. A consumer reading a rectangle should not have to know which way the text runs.
Fields and properties (25)
public EdgeValues PositionThe offset from the parent's content box, per physical edge.
public DimensionValues DimensionsThe border-box size.
public EdgeValues RoundedPositionThe offset after pixel rounding. What GetLeft returns.
public DimensionValues RoundedDimensionsThe size after pixel rounding. What GetWidth returns.
public DimensionValues MeasuredDimensionsThe size the algorithm settled on, before it was written to Dimensions.
public EdgeValues MarginThe resolved margin.
public EdgeValues BorderThe resolved border.
public EdgeValues PaddingThe resolved padding.
public Direction DirectionThe direction this node was laid out in.
public bool HadOverflowWhether the content did not fit.
public float ComputedFlexBasisThe main size this node contributed before growing and shrinking. NaN if unset.
public uint ComputedFlexBasisGenerationThe pass in which ComputedFlexBasis was computed.
public float ComputedAutoMinMainSizeThe automatic minimum main size from CSS Flexbox §4.5, or NaN when none applies.
public uint GenerationCountThe pass in which this node was last laid out.
public uint ImplGenerationThe pass in which the algorithm actually ran for this node, as opposed to answering from cache.
public float RoundedAbsoluteLeftThe absolute offset this node's children were last rounded against.
public float RoundedAbsoluteTopThe absolute offset this node's children were last rounded against.
public Direction LastOwnerDirectionThe owner direction of the pass that produced this result.
public uint NextCachedMeasurementsIndexWhere the next measurement goes in the ring of cached ones.
public CachedMeasurements CachedMeasurementsThe measurement cache.
public CachedMeasurement CachedLayoutThe last full layout, cached separately from the measurements.
public int LineIndexWhich line of a wrapping container this node landed on.
public DimensionValues MinContentSizesThe node's min-content size on each axis, or NaN for "not computed since it last changed".
public float MinContentOwnerWidthThe owner width MinContentSizes was computed against.
public float MinContentOwnerHeightThe owner height MinContentSizes was computed against.
Used by (1)
- LayoutTreeVixen.Ui.Layout