ARTBrush.m 513 B

12345678910111213141516171819202122232425262728293031
  1. /*
  2. * Copyright (c) Facebook, Inc. and its affiliates.
  3. *
  4. * This source code is licensed under the MIT license found in the
  5. * LICENSE file in the root directory of this source tree.
  6. */
  7. #import <React/ARTBrush.h>
  8. #import <React/RCTDefines.h>
  9. @implementation ARTBrush
  10. - (instancetype)initWithArray:(NSArray *)data
  11. {
  12. return [super init];
  13. }
  14. RCT_NOT_IMPLEMENTED(- (instancetype)init)
  15. - (BOOL)applyFillColor:(CGContextRef)context
  16. {
  17. return NO;
  18. }
  19. - (void)paint:(CGContextRef)context
  20. {
  21. // abstract
  22. }
  23. @end