STPThreeDSLabelCustomization

@interface STPThreeDSLabelCustomization : NSObject

A customization object to use to configure the UI of a text label.

  • The default settings.

    Declaration

    Objective-C

    + (nonnull instancetype)defaultSettings;

    Swift

    class func defaultSettings() -> Self
  • The font to use for heading text.

    Declaration

    Objective-C

    @property (readwrite, strong, nonatomic) UIFont *_Nonnull headingFont;

    Swift

    var headingFont: UIFont { get set }
  • The color of heading text. Defaults to black.

    Declaration

    Objective-C

    @property (readwrite, strong, nonatomic) UIColor *_Nonnull headingTextColor;

    Swift

    var headingTextColor: UIColor { get set }
  • The font to use for non-heading text.

    Declaration

    Objective-C

    @property (readwrite, strong, nonatomic) UIFont *_Nonnull font;

    Swift

    var font: UIFont { get set }
  • The color to use for non-heading text. Defaults to black.

    Declaration

    Objective-C

    @property (readwrite, strong, nonatomic) UIColor *_Nonnull textColor;

    Swift

    var textColor: UIColor { get set }