Files
Fluxup_PAP/node_modules/react-native/ReactCommon/react/renderer/graphics/BackgroundRepeat.h
2026-03-10 16:18:05 +00:00

30 lines
648 B
C++

/*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#pragma once
namespace facebook::react {
enum class BackgroundRepeatStyle {
Repeat,
Space,
Round,
NoRepeat,
};
struct BackgroundRepeat {
BackgroundRepeatStyle x{BackgroundRepeatStyle::Repeat};
BackgroundRepeatStyle y{BackgroundRepeatStyle::Repeat};
BackgroundRepeat() {}
bool operator==(const BackgroundRepeat &other) const = default;
bool operator!=(const BackgroundRepeat &other) const = default;
};
} // namespace facebook::react