JGProgressHUDShadow Class Reference

Inherits from NSObject
Declared in JGProgressHUDShadow.h
JGProgressHUDShadow.m

Overview

A wrapper representing properties of a shadow.

Other Methods

+ shadowWithColor:offset:radius:opacity:

Convenience initializer.

+ (instancetype)shadowWithColor:(UIColor *)color offset:(CGSize)offset radius:(CGFloat)radius opacity:(float)opacity

Discussion

Convenience initializer.

Declared In

JGProgressHUDShadow.h

Other Methods

  color

The color of the shadow. Colors created from patterns are currently NOT supported.

@property (nonatomic, strong, readonly, nonnull) UIColor *color

Discussion

The color of the shadow. Colors created from patterns are currently NOT supported.

Declared In

JGProgressHUDShadow.h

  offset

The shadow offset.

@property (nonatomic, assign, readonly) CGSize offset

Discussion

The shadow offset.

Declared In

JGProgressHUDShadow.h

  radius

The blur radius used to create the shadow.

@property (nonatomic, assign, readonly) CGFloat radius

Discussion

The blur radius used to create the shadow.

Declared In

JGProgressHUDShadow.h

  opacity

The opacity of the shadow. Specifying a value outside the [0,1] range will give undefined results.

@property (nonatomic, assign, readonly) float opacity

Discussion

The opacity of the shadow. Specifying a value outside the [0,1] range will give undefined results.

Declared In

JGProgressHUDShadow.h