SpannedSubject.Typefaced


interface SpannedSubject.Typefaced


Allows assertions about the typeface of a span.

Summary

Public functions

SpannedSubject.AndSpanFlags!
withFamily(fontFamily: String!)

Checks that at least one of the matched spans has the expected fontFamily.

Public functions

withFamily

fun withFamily(fontFamily: String!): SpannedSubject.AndSpanFlags!

Checks that at least one of the matched spans has the expected fontFamily.

Parameters
fontFamily: String!

The expected font family.

Returns
SpannedSubject.AndSpanFlags!

A WithSpanFlags object for optional additional assertions on the flags.