/** * Copyright (c) 2014-present, Facebook, Inc. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #pragma once #include "Yoga-internal.h" #include "Yoga.h" struct YGStyle { YGDirection direction; YGFlexDirection flexDirection; YGJustify justifyContent; YGAlign alignContent; YGAlign alignItems; YGAlign alignSelf; YGPositionType positionType; YGWrap flexWrap; YGOverflow overflow; YGDisplay display; float flex; float flexGrow; float flexShrink; YGValue flexBasis; std::array margin; std::array position; std::array padding; std::array border; std::array dimensions; std::array minDimensions; std::array maxDimensions; float aspectRatio; YGStyle(); // Yoga specific properties, not compatible with flexbox specification bool operator==(const YGStyle& style); bool operator!=(YGStyle style); ~YGStyle(); };