Inherits from TKFill : NSObject
Declared in TKSolidFill.h

Overview

A solid color fill.

Properties

color

The Fill color to use while drawing.

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

Declared In

TKSolidFill.h

Class Methods

solidFillWithColor:

Initializes with a fill color.

+ (instancetype __nonnull)solidFillWithColor:(UIColor *__nonnull)color

Parameters

color

The fill color.

Declared In

TKSolidFill.h

solidFillWithColor:cornerRadius:

Initializes with a fill color.

+ (instancetype __nonnull)solidFillWithColor:(UIColor *__nonnull)color cornerRadius:(CGFloat)cornerRadius

Parameters

color

The fill color.

cornerRadius

The corner radius in points.

Declared In

TKSolidFill.h

Instance Methods

initWithColor:

Initializes with a fill color.

- (instancetype __nonnull)initWithColor:(UIColor *__nonnull)color

Parameters

color

The fill color.

Declared In

TKSolidFill.h

initWithColor:cornerRadius:

Initializes with a fill color.

- (instancetype __nonnull)initWithColor:(UIColor *__nonnull)color cornerRadius:(CGFloat)cornerRadius

Parameters

color

The fill color.

cornerRadius

The corner radius in points.

Declared In

TKSolidFill.h