SEssentialsPullToActionArrow Class Reference

Inherits from UIView
Declared in SEssentialsPullToActionArrow.h
Availability
Related samples

Overview

A UIView which draws an arrow spanning its entire bounds.

Properties

borderColor

The border color of the arrow.

@property (nonatomic, retain) UIColor *borderColor

Declared In

SEssentialsPullToActionArrow.h

borderWidth

The width of the arrow’s border.

@property (nonatomic, assign) CGFloat borderWidth

Declared In

SEssentialsPullToActionArrow.h

color

The color of the arrow.

@property (nonatomic, retain) UIColor *color

Declared In

SEssentialsPullToActionArrow.h

headPoint

The point that the head of the arrow is rendered to.

@property (nonatomic, assign) CGPoint headPoint

Declared In

SEssentialsPullToActionArrow.h

headSize

The width and height of the arrows head.

@property (nonatomic, assign) CGSize headSize

Declared In

SEssentialsPullToActionArrow.h

tailPoint

The point that the tail of the arrow is rendered to.

@property (nonatomic, assign) CGPoint tailPoint

Declared In

SEssentialsPullToActionArrow.h

tailWidth

The width of the tail.

@property (nonatomic, assign) CGFloat tailWidth

Declared In

SEssentialsPullToActionArrow.h

Instance Methods

applyStyle:

Apply the given style to the arrow.

- (void)applyStyle:(SEssentialsPullToActionStyle *)style

Declared In

SEssentialsPullToActionArrow.h

initWithFrame:tailPoint:headPoint:headSize:tailWidth:borderWidth:

Initializes a view which renders an arrow object between the two points provided.

- (instancetype)initWithFrame:(CGRect)frame tailPoint:(CGPoint)tailPoint headPoint:(CGPoint)headPoint headSize:(CGSize)headSize tailWidth:(CGFloat)tailWidth borderWidth:(CGFloat)borderWidth

Parameters

frame

The frame of the view.

tailPoint

The point that the tail of the arrow is rendered to.

headPoint

The point that the head of the arrow is rendered to.

headSize

The width and height of the arrows head.

tailWidth

The width of the tail.

borderWidth

The width of the arrows border.

Declared In

SEssentialsPullToActionArrow.h