//
// UIView+ColorView.m
// CAEmitterCell
//
// Created by Holly on 2017/11/30.
// Copyright © 2017年 Holly. All rights reserved.
//
#import "UIView+ColorView.h"
#import <QuartzCore/QuartzCore.h>
@implementation UIView (ColorView)
-(UIColor *)colorOfPoint:(CGPoint)point {
unsigned char pixel[4] = { 0};
CGColorSpaceRef colorSpace =CGColorSpaceCreateDevic