filesbox/app/filesbox_ios/FilesBox/Pods/SJXSignTextView
2023-09-21 10:53:23 +08:00
..
SJXSignTextView xiaochengxu 2023-09-21 10:53:23 +08:00
LICENSE xiaochengxu 2023-09-21 10:53:23 +08:00
README.md xiaochengxu 2023-09-21 10:53:23 +08:00

SJXSignTextView

在方形的View中自定义左上角或右上角的斜向文字标签

引用方式

  1. 使用cocoapods
    pod 'SJXSignTextView'
  1. 直接将 SJXSignTextView 文件拖入项目

使用方式

    SJXSignTextView *testV = [[SJXSignTextView alloc] init];
    testV.frame = CGRectMake(0, 0, 40, 40);
    testV.directionType = TextDirectionTypeLeft;
    testV.text = @"测试文字";
    testV.textColor = [UIColor whiteColor];
    testV.bgColor = [UIColor blueColor];
    testV.textFont = 8;
    [self.view addSubview:testV];