Inherits from TKShape : NSObject
Declared in TKBalloonShape.h

Overview

Represents a balloon shape with arrow

Properties

arrowOffset

Gets or sets an offset which will be used when calculating the arrow position when it is centered.

@property (nonatomic, assign) CGFloat arrowOffset

Declared In

TKBalloonShape.h

arrowPosition

Gets or sets the arrow position

@property (nonatomic, assign) TKBalloonShapeArrowPosition arrowPosition

Declared In

TKBalloonShape.h

arrowSize

Gets or sets the arrow size

@property (nonatomic, assign) CGSize arrowSize

Declared In

TKBalloonShape.h

cornerRadius

Gets or sets the corner radius of shape

@property (nonatomic, assign) CGFloat cornerRadius

Declared In

TKBalloonShape.h

useStrictArrowPosition

Gets or sets a value which determines how to align the arrow when a corner arrow position is selected

@property (nonatomic, assign) BOOL useStrictArrowPosition

Declared In

TKBalloonShape.h

Instance Methods

initWithArrowPosition:size:

Initializes the balloon shape

- (instancetype __nonnull)initWithArrowPosition:(TKBalloonShapeArrowPosition)arrowPosition size:(CGSize)size

Parameters

arrowPosition

The arrow position

size

The size position

Declared In

TKBalloonShape.h