Package com.openhtmltopdf.css.sheet
Class FontFaceRule
- java.lang.Object
-
- com.openhtmltopdf.css.sheet.FontFaceRule
-
- All Implemented Interfaces:
RulesetContainer
public class FontFaceRule extends Object implements RulesetContainer
-
-
Constructor Summary
Constructors Constructor Description FontFaceRule(int origin)
-
Method Summary
Modifier and Type Method Description voidaddContent(Ruleset ruleset)CalculatedStylegetCalculatedStyle()intgetOrigin()booleanhasFontFamily()booleanhasFontStyle()booleanhasFontWeight()voidsetOrigin(int origin)
-
-
-
Method Detail
-
addContent
public void addContent(Ruleset ruleset)
- Specified by:
addContentin interfaceRulesetContainer
-
getOrigin
public int getOrigin()
- Specified by:
getOriginin interfaceRulesetContainer
-
setOrigin
public void setOrigin(int origin)
-
getCalculatedStyle
public CalculatedStyle getCalculatedStyle()
-
hasFontFamily
public boolean hasFontFamily()
-
hasFontWeight
public boolean hasFontWeight()
-
hasFontStyle
public boolean hasFontStyle()
-
-