22 lines
672 B
Objective-C
22 lines
672 B
Objective-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.
|
|
*/
|
|
|
|
#include <Foundation/Foundation.h>
|
|
#include <react/renderer/graphics/ColorStop.h>
|
|
#import <vector>
|
|
|
|
NS_ASSUME_NONNULL_BEGIN
|
|
|
|
@interface RCTGradientUtils : NSObject
|
|
|
|
+ (std::vector<facebook::react::ProcessedColorStop>)getFixedColorStops:
|
|
(const std::vector<facebook::react::ColorStop> &)colorStops
|
|
gradientLineLength:(CGFloat)gradientLineLength;
|
|
@end
|
|
|
|
NS_ASSUME_NONNULL_END
|