Moved getLeadingMargin as a function on YGNode
Summary: Moved getLeadingMargin as a function on YGNode Reviewed By: emilsjolander Differential Revision: D6683270 fbshipit-source-id: a26663006419e13cb783e9849183e3c665f59b3c
This commit is contained in:
committed by
Facebook Github Bot
parent
681b580fd8
commit
a65b79a944
@@ -76,10 +76,12 @@ struct YGNode {
|
||||
bool isDirty() const;
|
||||
std::array<YGValue, 2> getResolvedDimensions() const;
|
||||
YGValue getResolvedDimension(int index);
|
||||
|
||||
float getLeadingPosition(const YGFlexDirection axis, const float axisSize);
|
||||
bool isLeadingPositionDefined(const YGFlexDirection axis);
|
||||
bool isTrailingPosDefined(const YGFlexDirection axis);
|
||||
float getTrailingPosition(const YGFlexDirection axis, const float axisSize);
|
||||
float getLeadingMargin(const YGFlexDirection axis, const float widthSize);
|
||||
|
||||
// Setters
|
||||
|
||||
|
Reference in New Issue
Block a user