public final class CSS20FontDescription extends FontDescription
| Constructor and Description |
|---|
CSS20FontDescription(String familyName,
CSS20Attribute.CSSStyleValue style,
CSS20Attribute.CSSVariantValue variant,
CSS20Attribute.CSSStretchValue stretch,
int weight,
double lowPointSize,
double highPointSize)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getFamilyName()
Get the CSS font-family name.
|
double |
getHighPointSize()
Get the highest point size (exclusive) supported by this font.
|
double |
getLowPointSize()
Get the lowest point size (inclusive) supported by this font.
|
CSS20Attribute.CSSStretchValue |
getStretch()
Get the CSS font stretch.
|
CSS20Attribute.CSSStyleValue |
getStyle()
Get the CSS font style.
|
CSS20Attribute.CSSVariantValue |
getVariant()
Get the CSS font variant.
|
int |
getWeight()
Get the CSS font weight.
|
int |
hashCode() |
String |
toString() |
public CSS20FontDescription(String familyName, CSS20Attribute.CSSStyleValue style, CSS20Attribute.CSSVariantValue variant, CSS20Attribute.CSSStretchValue stretch, int weight, double lowPointSize, double highPointSize)
familyName - The family name of the font.style - The style of the font.variant - The variant of the font.stretch - The stretch value of the font.weight - The weight of the font.lowPointSize - The lowest point size that the font supports (inclusive).highPointSize - The highest point size that the font supports (exclusive).public String getFamilyName()
public CSS20Attribute.CSSStyleValue getStyle()
public CSS20Attribute.CSSVariantValue getVariant()
public int getWeight()
public CSS20Attribute.CSSStretchValue getStretch()
public double getLowPointSize()
public double getHighPointSize()
Copyright © 2010 - 2020 Adobe. All Rights Reserved