@JsType(namespace="xgl.css") public class Font extends Object
Constructor and Description |
---|
Font() |
Modifier and Type | Method and Description |
---|---|
Font |
__setFamily(Object fontFamilies) |
List<FontFamily> |
getFamily() |
Double |
getSize() |
FontStyle |
getStyle() |
Unit |
getUnit() |
FontWeight |
getWeight() |
Font |
setFamily(FontFamily... fontFamily) |
Font |
setFamily(FontFamily fontFamily) |
Font |
setFamily(List<FontFamily> fontFamily) |
static void |
setFontStyle(Element<?> element,
Font font) |
Font |
setSize(Double fontSize) |
Font |
setSize(double fontSize,
Unit unit) |
Font |
setSize(Double fontSize,
Unit unit) |
Font |
setStyle(FontStyle fontStyle) |
Font |
setUnit(Unit unit) |
Font |
setWeight(FontWeight fontWeight) |
@JsIgnore public Font setFamily(List<FontFamily> fontFamily)
@JsIgnore public Font setFamily(FontFamily fontFamily)
@JsIgnore public Font setFamily(FontFamily... fontFamily)
public Font setWeight(FontWeight fontWeight)
public FontStyle getStyle()
public Double getSize()
public Unit getUnit()
public List<FontFamily> getFamily()
public FontWeight getWeight()
Copyright © 2018 Xalys. All rights reserved.