FWAttributedLabelAttachment
@interface FWAttributedLabelAttachment : NSObject
@property (nonatomic,strong) id content;
@property (nonatomic,assign) UIEdgeInsets margin;
@property (nonatomic,assign) FWAttributedAlignment alignment;
@property (nonatomic,assign) CGFloat fontAscent;
@property (nonatomic,assign) CGFloat fontDescent;
@property (nonatomic,assign) CGSize maxSize;
+ (FWAttributedLabelAttachment *)attachmentWith:(id)content
margin:(UIEdgeInsets)margin
alignment:(FWAttributedAlignment)alignment
maxSize:(CGSize)maxSize;
- (CGSize)boxSize;
@end
Undocumented
-
Undocumented
Declaration
Objective-C
@property (nonatomic, strong) id content
-
Undocumented
Declaration
Objective-C
@property (nonatomic) UIEdgeInsets margin
-
Undocumented
Declaration
Objective-C
@property (nonatomic) FWAttributedAlignment alignment
-
Undocumented
Declaration
Objective-C
@property (nonatomic) CGFloat fontAscent
-
Undocumented
Declaration
Objective-C
@property (nonatomic) CGFloat fontDescent
-
Undocumented
Declaration
Objective-C
@property (nonatomic) CGSize maxSize
-
Undocumented
Declaration
Objective-C
+ (FWAttributedLabelAttachment *)attachmentWith:(id)content margin:(UIEdgeInsets)margin alignment:(FWAttributedAlignment)alignment maxSize:(CGSize)maxSize;
-
Undocumented
Declaration
Objective-C
- (CGSize)boxSize;