VGSTextRange

public struct VGSTextRange

An object representing text range with closed boundaries.

  • Range start index.

    Declaration

    Swift

    public let start: Int?
  • end

    Range end index.

    Declaration

    Swift

    public let end: Int?
  • Initialization.

    Declaration

    Swift

    public init(start: Int? = nil, end: Int? = nil)

    Parameters

    start

    Int object. Defines range start, should be less or equal to end and string length. Default is nil.

    end

    Int object. Defines range end, should be greater or equal to end and string length. Default is nil.