2015-04-29 22:28:18 +00:00
|
|
|
/**
|
|
|
|
* Copyright (c) 2015-present, Facebook, Inc.
|
|
|
|
*
|
2018-02-17 02:24:55 +00:00
|
|
|
* This source code is licensed under the MIT license found in the
|
|
|
|
* LICENSE file in the root directory of this source tree.
|
2015-04-29 22:28:18 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
#import "ARTRenderableManager.h"
|
|
|
|
|
|
|
|
#import "RCTConvert+ART.h"
|
|
|
|
|
|
|
|
@implementation ARTRenderableManager
|
|
|
|
|
|
|
|
RCT_EXPORT_MODULE()
|
|
|
|
|
|
|
|
- (ARTRenderable *)node
|
|
|
|
{
|
2015-11-02 15:58:47 +00:00
|
|
|
return [ARTRenderable new];
|
2015-04-29 22:28:18 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
RCT_EXPORT_VIEW_PROPERTY(strokeWidth, CGFloat)
|
|
|
|
RCT_EXPORT_VIEW_PROPERTY(strokeCap, CGLineCap)
|
|
|
|
RCT_EXPORT_VIEW_PROPERTY(strokeJoin, CGLineJoin)
|
|
|
|
RCT_EXPORT_VIEW_PROPERTY(fill, ARTBrush)
|
|
|
|
RCT_EXPORT_VIEW_PROPERTY(stroke, CGColor)
|
|
|
|
RCT_EXPORT_VIEW_PROPERTY(strokeDash, ARTCGFloatArray)
|
|
|
|
|
|
|
|
@end
|