TextAction

@objc public enum TextAction: Int

The actions that can be used in an instance of TextOptionsToolController.

  • selectFont: Change the font of the text.
  • selectColor: Change the color of the text.
  • selectBackgroundColor: Change the color of the text’s bounding box.
  • selectAlignment: Change the alignment of the text.
  • flip: Flip the label.
  • straighten: Straighten the label.
  • bringToFront: Bring the label to the front.
  • Change the font of the text.

    Declaration

    Swift

    case selectFont
  • Change the color of the text.

    Declaration

    Swift

    case selectColor
  • Change the color of the text’s bounding box.

    Declaration

    Swift

    case selectBackgroundColor
  • Change the alignment of the text.

    Declaration

    Swift

    case selectAlignment
  • Flip the label.

    Declaration

    Swift

    case flip
  • Straighten the label

    Declaration

    Swift

    case straighten
  • Bring the label to the front.

    Declaration

    Swift

    case bringToFront