GT2/GT2-iOS/node_modules/react-native-svg/ios/ViewManagers/RNSVGRadialGradientManager.m

32 lines
817 B
Objective-C

/**
* Copyright (c) 2015-present, Horcrux.
* All rights reserved.
*
* This source code is licensed under the MIT-style license found in the
* LICENSE file in the root directory of this source tree.
*/
#import "RNSVGRadialGradientManager.h"
#import "RNSVGRadialGradient.h"
@implementation RNSVGRadialGradientManager
RCT_EXPORT_MODULE()
- (RNSVGNode *)node
{
return [RNSVGRadialGradient new];
}
RCT_EXPORT_VIEW_PROPERTY(fx, NSString)
RCT_EXPORT_VIEW_PROPERTY(fy, NSString)
RCT_EXPORT_VIEW_PROPERTY(rx, NSString)
RCT_EXPORT_VIEW_PROPERTY(ry, NSString)
RCT_EXPORT_VIEW_PROPERTY(cx, NSString)
RCT_EXPORT_VIEW_PROPERTY(cy, NSString)
RCT_EXPORT_VIEW_PROPERTY(gradient, NSArray<NSNumber *>)
RCT_EXPORT_VIEW_PROPERTY(gradientUnits, RNSVGUnits)
RCT_EXPORT_VIEW_PROPERTY(gradientTransform, CGAffineTransform)
@end