java.lang.Object
org.jhotdraw8.draw.css.value.CssFont
Represents a font specified with family, weight, posture and size properties.
- Author:
- Werner Randelshofer
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic CssFontstatic CssFontfont(String family, @Nullable javafx.scene.text.FontWeight weight, @Nullable javafx.scene.text.FontPosture posture, double size) static CssFontfont(String family, @Nullable javafx.scene.text.FontWeight weight, @Nullable javafx.scene.text.FontPosture posture, CssSize size) javafx.scene.text.FontgetFont()@Nullable javafx.scene.text.FontPosturegetSize()@Nullable javafx.scene.text.FontWeightinthashCode()toString()
-
Constructor Details
-
CssFont
-
-
Method Details
-
getFamily
-
getWeight
public @Nullable javafx.scene.text.FontWeight getWeight() -
getPosture
public @Nullable javafx.scene.text.FontPosture getPosture() -
getSize
-
getFont
public javafx.scene.text.Font getFont() -
font
-
font
-
font
-
hashCode
public int hashCode() -
equals
-
toString
-