SpannedSubject.Typefaced


public interface SpannedSubject.Typefaced


Allows assertions about the typeface of a span.

Summary

Public methods

abstract SpannedSubject.AndSpanFlags
withFamily(String fontFamily)

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

Public methods

withFamily

abstract SpannedSubject.AndSpanFlags withFamily(String fontFamily)

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

Parameters
String fontFamily

The expected font family.

Returns
SpannedSubject.AndSpanFlags

A WithSpanFlags object for optional additional assertions on the flags.