Interface IsDefaultFont
- 
- All Known Subinterfaces:
- IsFont,- IsImmutableFont
 - All Known Implementing Classes:
- AbstractFont,- AbstractImmutableFont,- AbstractScriptableFont,- DefaultChartFont,- DefaultRoutedFont,- Font,- Font,- Font,- Font,- Font,- FontItem
 
 public interface IsDefaultFontInterface to define fomt object defaults.- Author:
- Andrea "Stock" Stocchero
 
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description FontItemcreate()Creates a font options instance using default or cloning current instance.default FontItemcreate(IsDefaultFont defaultValues)Creates a font options instance using default or cloning current instance.StringgetFamily()Returns the font family, follows CSS font-family options.doublegetLineHeight()Returns the height of an individual line of text.StringgetLineHeightAsString()Returns the height of an individual line of text as string.intgetSize()Returns the font size.FontStylegetStyle()Returns the font style, follows CSS font-style options (i.e.WeightgetWeight()Returns the font weight, follows CSS font-style-weight options.
 
- 
- 
- 
Method Detail- 
getSizeint getSize() Returns the font size.- Returns:
- the font size.
 
 - 
getStyleFontStyle getStyle() Returns the font style, follows CSS font-style options (i.e. normal, italic, oblique, initial, inherit).- Returns:
- the font style, follows CSS font-style options (i.e. normal, italic, oblique, initial, inherit).
 
 - 
getFamilyString getFamily() Returns the font family, follows CSS font-family options.- Returns:
- Font family, follows CSS font-family options.
 
 - 
getWeightWeight getWeight() Returns the font weight, follows CSS font-style-weight options.- Returns:
- the font weight, follows CSS font-style-weight options.
 
 - 
getLineHeightdouble getLineHeight() Returns the height of an individual line of text.- Returns:
- the height of an individual line of text.
 
 - 
getLineHeightAsStringString getLineHeightAsString() Returns the height of an individual line of text as string.- Returns:
- the height of an individual line of text as string.
 
 - 
createFontItem create() Creates a font options instance using default or cloning current instance.- Returns:
- a font options instance using default or cloning current instance
 
 - 
createdefault FontItem create(IsDefaultFont defaultValues) Creates a font options instance using default or cloning current instance.- Parameters:
- defaultValues- default provider
- Returns:
- a font options instance using default or cloning current instance
 
 
- 
 
-