Inherits from TKStyleNode : NSObject
Declared in TKCalendarCellStyle.h

Overview

A class that represents a cell’s style.

Properties

backgroundColor

The cell background color.

@property (nonatomic, strong) UIColor *backgroundColor

Declared In

TKCalendarCellStyle.h

bottomBorderColor

The cell bottom border color. If set to nil, no bottom border will be displayed.

@property (nonatomic, strong) UIColor *bottomBorderColor

Declared In

TKCalendarCellStyle.h

bottomBorderWidth

The bottom border width.

@property (nonatomic) CGFloat bottomBorderWidth

Declared In

TKCalendarCellStyle.h

leftBorderColor

The cell left border color. If set to nil, no left border will be displayed.

@property (nonatomic, strong) UIColor *leftBorderColor

Declared In

TKCalendarCellStyle.h

leftBorderWidth

The left border width.

@property (nonatomic) CGFloat leftBorderWidth

Declared In

TKCalendarCellStyle.h

rightBorderColor

The cell right border color. If set to nil, no right border will be displayed.

@property (nonatomic, strong) UIColor *rightBorderColor

Declared In

TKCalendarCellStyle.h

rightBorderWidth

The right border width.

@property (nonatomic) CGFloat rightBorderWidth

Declared In

TKCalendarCellStyle.h

shape

The cell shape. It is always centered within the cell. If its size is set to zero, it will be calculated automatically to wrap the cell text inside.

@property (nonatomic, strong) TKShape *shape

Declared In

TKCalendarCellStyle.h

shapeFill

The the cell shape fill.

@property (nonatomic, strong) TKFill *shapeFill

Declared In

TKCalendarCellStyle.h

shapeStroke

The cell shape stroke.

@property (nonatomic, strong) TKStroke *shapeStroke

Declared In

TKCalendarCellStyle.h

textAlignment

The calendar cell text alignment.

@property (nonatomic) TKCalendarCellAlignment textAlignment

Discussion

The available alignment modes are specified below:

typedef enum { TKCalendarCellAlignmentLeft // The cell content is aligned to left. TKCalendarCellAlignmentRight // The cell content is aligned to right. TKCalendarCellAlignmentTop // The cell content is aligned to top. TKCalendarCellAlignmentBottom // The cell content is aligned to bottom. TKCalendarCellAlignmentHorizontalCenter // The cell content is aligned horizontally. TKCalendarCellAlignmentVerticalCenter // The cell content is aligned vertically. } TKCalendarCellAlignment;

Declared In

TKCalendarCellStyle.h

textColor

The calendar cell text color.

@property (nonatomic, strong) UIColor *textColor

Declared In

TKCalendarCellStyle.h

textFont

The calendar cell text font.

@property (nonatomic, strong) UIFont *textFont

Declared In

TKCalendarCellStyle.h

textInsets

The calendar cell text inset.

@property (nonatomic) UIEdgeInsets textInsets

Declared In

TKCalendarCellStyle.h

topBorderColor

The cell top border color. If set to nil, no top border will be displayed.

@property (nonatomic, strong) UIColor *topBorderColor

Declared In

TKCalendarCellStyle.h

topBorderWidth

The top border width.

@property (nonatomic) CGFloat topBorderWidth

Declared In

TKCalendarCellStyle.h