Inherits from NSObject
Conforms to NSCoding
Declared in DTTextBlock.h

Overview

Class that represents a block of text with attributes like padding or a background color.

Tasks

Properties

backgroundColor

The background color to paint behind the text in the receiver

@property (nonatomic, strong) DTColor *backgroundColor

Declared In

DTTextBlock.h

padding

The space to be applied between the layouted text and the edges of the receiver

@property (nonatomic, assign) DTEdgeInsets padding

Declared In

DTTextBlock.h