mirror of
https://github.com/zoriya/react-native-svg.git
synced 2025-12-20 05:55:10 +00:00
Add preserveAspectRatio prop for Image. Fix touch events for Image on Android. Fix viewBox slice bug on Android.
26 lines
722 B
Objective-C
26 lines
722 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 "RNSVGGroup.h"
|
|
#import "RNSVGVBMOS.h"
|
|
|
|
@interface RNSVGViewBox : RNSVGGroup
|
|
|
|
@property (nonatomic, strong) NSString *minX;
|
|
@property (nonatomic, strong) NSString *minY;
|
|
@property (nonatomic, strong) NSString *vbWidth;
|
|
@property (nonatomic, strong) NSString *vbHeight;
|
|
@property (nonatomic, strong) NSString *align;
|
|
@property (nonatomic, assign) RNSVGVBMOS meetOrSlice;
|
|
@property (nonatomic, strong) NSString *width;
|
|
@property (nonatomic, strong) NSString *height;
|
|
|
|
- (CGAffineTransform)getTransform;
|
|
|
|
@end
|