Moved YGNodeLeading position as a method on YGNode

Summary: Moved YGNodeLeading position as a method on YGNode

Reviewed By: emilsjolander

Differential Revision: D6682929

fbshipit-source-id: 3607aab1544b62b1126c5d75b2f6fb8f5ca2d45f
This commit is contained in:
Pritesh Nandgaonkar
2018-01-11 04:47:35 -08:00
committed by Facebook Github Bot
parent 1eb9a5edd9
commit 0cfdb50477
6 changed files with 89 additions and 82 deletions

View File

@@ -76,6 +76,7 @@ struct YGNode {
bool isDirty() const;
std::array<YGValue, 2> getResolvedDimensions() const;
YGValue getResolvedDimension(int index);
float getLeadingPosition(const YGFlexDirection axis, const float axisSize);
// Setters