public interface RuleFontFace extends RuleBlock<Declaration>, PrettyOutput
| Modifier and Type | Interface and Description |
|---|---|
static interface |
RuleFontFace.Source
A generic font source.
|
static interface |
RuleFontFace.SourceLocal
A local font (src: local()).
|
static interface |
RuleFontFace.SourceURL
A remote source indentified by its URL (src: url()).
|
| Modifier and Type | Method and Description |
|---|---|
String |
getFontFamily()
Gets the font family name
|
CSSProperty.FontStyle |
getFontStyle()
Gets the font style
|
CSSProperty.FontWeight |
getFontWeight()
Gets the font weight
|
List<RuleFontFace.Source> |
getSources()
Gets the declared font sources
|
List<String> |
getUnicodeRanges()
Gets the unicode ranges
|
getStyleSheet, setStyleSheetasList, replaceAll, unlockadd, add, addAll, addAll, clear, contains, containsAll, equals, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArrayparallelStream, removeIf, streamtoStringString getFontFamily()
List<RuleFontFace.Source> getSources()
null when no valid source declaration is present.CSSProperty.FontStyle getFontStyle()
CSSProperty.FontWeight getFontWeight()
Copyright © 2019. All rights reserved.