Declared in TKRadialGradientFill.h

TKGradientRadiusType

Specifies the radius units type for startRadius and endRadius.

Definition

typedef NS_ENUM(NSInteger, TKGradientRadiusType ) {
   TKGradientRadiusTypePixels,
   TKGradientRadiusTypeRectMin,
   TKGradientRadiusTypeRectMax,
};

Constants

TKGradientRadiusTypePixels
 The radius is in pixels.

Declared In TKRadialGradientFill.h.

TKGradientRadiusTypeRectMin
 The radius is in the interval of 0 (0%) to 1 (100%) using minimum of drawing rectangle sizes.

Declared In TKRadialGradientFill.h.

TKGradientRadiusTypeRectMax
 The radius is in interval of 0 (0%) to 1 (100%) using maximum of drawing rectangle sizes.

Declared In TKRadialGradientFill.h.

Declared In

TKRadialGradientFill.h