Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 29 lines (21 sloc) 0.583 kb
8004a34 @Cocoanetics Implemented simple text box support. block-level elements can have a …
authored
1 //
2 // DTTextBlock.h
3 // DTCoreText
4 //
5 // Created by Oliver Drobnik on 04.03.12.
6 // Copyright (c) 2012 Drobnik.com. All rights reserved.
7 //
8
ff21bfd @OliverLetterer Introduces DTCompatibility.h.
OliverLetterer authored
9 #import "DTCompatibility.h"
8004a34 @Cocoanetics Implemented simple text box support. block-level elements can have a …
authored
10
11 /**
12 Class that represents a block of text with attributes like padding or a background color.
13 */
14 @interface DTTextBlock : NSObject
15
16 /**
17 The space to be applied between the layouted text and the edges of the receiver
18 */
19 @property (nonatomic, assign) DTEdgeInsets padding;
20
21
22 /**
23 The background color to paint behind the text in the receiver
24 */
25 @property (nonatomic, strong) DTColor *backgroundColor;
26
27
28 @end
Something went wrong with that request. Please try again.