Uses of Class
javafx.scene.text.FontWeight
-
Packages that use FontWeight 软件包 描述 javafx.css.converter 提供各种转换CSS解析值的StyleConverter
类。javafx.scene.text 为字体和可渲染的文本节点提供一组类。 -
-
Uses of FontWeight in javafx.css.converter
Methods in javafx.css.converter that return FontWeight Modifier and Type 方法 描述 FontWeight
FontConverter.FontWeightConverter. convert(ParsedValue<String,FontWeight> value, Font font)
Method parameters in javafx.css.converter with type arguments of type FontWeight Modifier and Type 方法 描述 FontWeight
FontConverter.FontWeightConverter. convert(ParsedValue<String,FontWeight> value, Font font)
-
Uses of FontWeight in javafx.scene.text
Methods in javafx.scene.text that return FontWeight Modifier and Type 方法 描述 static FontWeight
FontWeight. findByName(String name)
以其名称返回FontWeight
。static FontWeight
FontWeight. findByWeight(int weight)
返回由CSS和OpenType规范定义的权重值最接近的FontWeight
。static FontWeight
FontWeight. valueOf(String name)
以指定的名称返回此类型的枚举常量。static FontWeight[]
FontWeight. values()
按照它们声明的顺序返回一个包含此枚举类型常量的数组。Methods in javafx.scene.text with parameters of type FontWeight Modifier and Type 方法 描述 static Font
Font. font(String family, FontWeight weight, double size)
根据字体系列名称和体重样式搜索适当的字体。static Font
Font. font(String family, FontWeight weight, FontPosture posture, double size)
根据字体系列名称,体重和姿势样式搜索适当的字体。
-