Contents

setDecoration(_:in:)

Sets a decoration for a range of text.

Declaration

@nonobjc func setDecoration(_ decoration: AVCaption.Decoration, in range: NSRange)

Parameters

  • decoration:

    The decoration.

  • range:

    The range to which this decoration applies.

See Also

Configuring font styles