2 * Copyright (c) 2014-present, Facebook, Inc.
4 * This source code is licensed under the MIT license found in the
5 * LICENSE file in the root directory of this source tree.
9 #include "YGFloatOptional.h"
10 #include "Yoga-internal.h"
14 YGDirection direction;
15 YGFlexDirection flexDirection;
16 YGJustify justifyContent;
20 YGPositionType positionType;
25 YGFloatOptional flexGrow;
26 YGFloatOptional flexShrink;
28 std::array<YGValue, YGEdgeCount> margin;
29 std::array<YGValue, YGEdgeCount> position;
30 std::array<YGValue, YGEdgeCount> padding;
31 std::array<YGValue, YGEdgeCount> border;
32 std::array<YGValue, 2> dimensions;
33 std::array<YGValue, 2> minDimensions;
34 std::array<YGValue, 2> maxDimensions;
35 YGFloatOptional aspectRatio;
38 // Yoga specific properties, not compatible with flexbox specification
39 bool operator==(const YGStyle& style);
41 bool operator!=(const YGStyle& style);