Class NumberFontWeight
- java.lang.Object
-
- com.github.weisj.jsvg.attributes.font.NumberFontWeight
-
- All Implemented Interfaces:
FontWeight
@Immutable public final class NumberFontWeight extends java.lang.Object implements FontWeight
-
-
Field Summary
Fields Modifier and Type Field Description private float
weight
-
Constructor Summary
Constructors Constructor Description NumberFontWeight(float weight)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
int
hashCode()
java.lang.String
toString()
int
weight(int parentWeight)
-
-
-
Method Detail
-
weight
public int weight(int parentWeight)
- Specified by:
weight
in interfaceFontWeight
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-