MapsIndoors iOS SDK V3
Loading...
Searching...
No Matches
MPImageRenderer.h
Go to the documentation of this file.
1//
2// MPRouteActionRenderer.h
3// MapsIndoors
4//
5// Created by Daniel Nielsen on 30/09/15.
6// Copyright © 2015 MapsPeople A/S. All rights reserved.
7//
8
9#import <Foundation/Foundation.h>
10#import <UIKit/UIKit.h>
11
12@interface MPImageRenderer : NSObject
13
14+ (nullable UIImage *) imageWithView:(nonnull UIView *)view;
15+ (nullable UIImage *) imageWithSize:(CGSize)size opaque:(BOOL)opaque fromLayer:(nonnull CALayer*)layer; // Usable outside UI Thread
16+ (nullable UIImage *) scaledIconFromImage:(nonnull UIImage *)image;
17+ (nullable UIImage *) imageResize:(nonnull UIImage*)img andResizeTo:(CGSize)newSize;
18
19@end
Definition MPImageRenderer.h:13