Class MeasurableFontSpec
java.lang.Object
com.github.weisj.jsvg.attributes.font.FontSpec
com.github.weisj.jsvg.attributes.font.MeasurableFontSpec
-
Field Summary
FieldsFields inherited from class com.github.weisj.jsvg.attributes.font.FontSpec
families, sizeAdjust, stretch, style -
Method Summary
Modifier and TypeMethodDescriptionstatic @NotNull MeasurableFontSpec@NotNull Lengthint@NotNull MeasurableFontSpecderive(@Nullable AttributeFontSpec other) floateffectiveSize(@NotNull MeasureContext context) boolean@NotNull String[]families()inthashCode()floatstretch()@NotNull com.github.weisj.jsvg.attributes.font.FontStylestyle()toString()@NotNull MeasurableFontSpecwithFontSize(@Nullable FontSize size, @Nullable Length sizeAdjust)
-
Field Details
-
DEFAULT_FONT_FAMILY_NAME
- See Also:
-
-
Method Details
-
createDefault
-
families
-
style
@NotNull public @NotNull com.github.weisj.jsvg.attributes.font.FontStyle style() -
stretch
public float stretch() -
currentWeight
public int currentWeight() -
currentSize
-
effectiveSize
-
withFontSize
@NotNull public @NotNull MeasurableFontSpec withFontSize(@Nullable @Nullable FontSize size, @Nullable @Nullable Length sizeAdjust) -
derive
-
toString
-
equals
-
hashCode
public int hashCode()
-