FUITagText

public class FUITagText : FUIText

FUIText displayed as a tag within FUIObjectHeaderView and FUIMapDetailTagObjectTableViewCell.

Available:

  • contentInsets: The contentInsets between the tag border and tag content
  • cornerRadius: The corner radius around the tag
  • fillColor: UIColor inside the tag
  • borderColor: UIColor around the perimeter of the tag

Initialization and Configuration

let tag = FUITagText("Tag")
tag.borderColor = borderColor
tag.fillColor = fillColor
tag.textColor = textColor
tag.font = font
  • ContentInsets between the tag border and tag content

    Declaration

    Swift

    public var contentInsets: NSDirectionalEdgeInsets?
  • Corner radius around the tag

    Declaration

    Swift

    public var cornerRadius: CGFloat?
  • UIColor inside the tag

    Declaration

    Swift

    public var fillColor: UIColor?
  • UIColor around the perimeter of the tag

    Declaration

    Swift

    public var borderColor: UIColor?