public interface ICSSFontFace extends ICSSNode
@font-face
statement.UNKNOWN
Modifier and Type | Method and Description |
---|---|
boolean |
getAdvancedAntiAliasing()
The advancedAntiAliasing property determines whether to include the
advanced anti-aliasing information when embedding the font.
|
String |
getFontFamily()
The fontFamily property sets the alias for the font that you use to apply
the font in style sheets.
|
String |
getFontStyle()
Get the "style" type face value of the font.
|
String |
getFontWeight()
Get the "weight" type face value of the font.
|
FontFaceSourceType |
getSourceType()
Get the font source type.
|
String |
getSourceValue() |
getArity, getNthChild, getOperator, toStringTree
getAbsoluteEnd, getAbsoluteStart, getColumn, getEnd, getEndColumn, getEndLine, getLine, getSourcePath, getStart
FontFaceSourceType getSourceType()
url()
or local()
.String getSourceValue()
FontFaceSourceType.URL
, the
return value is the URL of the font file path; If the source type is
FontFaceSourceType.LOCAL
, the return value is the system font
name.String getFontFamily()
font-family
properties.String getFontStyle()
String getFontWeight()
boolean getAdvancedAntiAliasing()
Copyright © 2016 The Apache Software Foundation. All rights reserved.