|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.batik.bridge.SVGFontFace
This class represents a <font-face> element.
Field Summary | |
protected float |
ascent
|
protected float |
descent
|
protected java.lang.String |
familyName
|
protected java.lang.String |
fontStretch
|
protected java.lang.String |
fontStyle
|
protected java.lang.String |
fontVariant
|
protected java.lang.String |
fontWeight
|
protected float |
overlinePosition
|
protected float |
overlineThickness
|
protected java.lang.String |
panose1
|
protected float |
slope
|
protected float |
strikethroughPosition
|
protected float |
strikethroughThickness
|
protected float |
underlinePosition
|
protected float |
underlineThickness
|
protected float |
unitsPerEm
|
Constructor Summary | |
SVGFontFace(java.lang.String familyName,
float unitsPerEm,
java.lang.String fontWeight,
java.lang.String fontStyle,
java.lang.String fontVariant,
java.lang.String fontStretch,
float slope,
java.lang.String panose1,
float ascent,
float descent,
float strikethroughPosition,
float strikethroughThickness,
float underlinePosition,
float underlineThickness,
float overlinePosition,
float overlineThickness)
Constructes an SVGFontFace with the specfied font-face attributes. |
Method Summary | |
float |
getAscent()
Returns the maximum unaccented height of the font within the font coordinate system. |
float |
getDescent()
Returns the maximum unaccented depth of the font within the font coordinate system. |
java.lang.String |
getFamilyName()
Returns the family name of this font, it may contain more than one. |
java.lang.String |
getFontStyle()
Returns the font-style. |
java.lang.String |
getFontWeight()
Returns the font-weight. |
float |
getOverlinePosition()
Returns the position of the overline decoration. |
float |
getOverlineThickness()
Returns the stroke thickness to use when drawing a overline. |
float |
getStrikethroughPosition()
Returns the position of the strikethrough decoration. |
float |
getStrikethroughThickness()
Returns the stroke thickness to use when drawing a strikethrough. |
float |
getUnderlinePosition()
Returns the position of the underline decoration. |
float |
getUnderlineThickness()
Returns the stroke thickness to use when drawing a underline. |
float |
getUnitsPerEm()
The number of coordinate units on the em square for this font. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected java.lang.String familyName
protected float unitsPerEm
protected java.lang.String fontWeight
protected java.lang.String fontStyle
protected java.lang.String fontVariant
protected java.lang.String fontStretch
protected float slope
protected java.lang.String panose1
protected float ascent
protected float descent
protected float strikethroughPosition
protected float strikethroughThickness
protected float underlinePosition
protected float underlineThickness
protected float overlinePosition
protected float overlineThickness
Constructor Detail |
public SVGFontFace(java.lang.String familyName, float unitsPerEm, java.lang.String fontWeight, java.lang.String fontStyle, java.lang.String fontVariant, java.lang.String fontStretch, float slope, java.lang.String panose1, float ascent, float descent, float strikethroughPosition, float strikethroughThickness, float underlinePosition, float underlineThickness, float overlinePosition, float overlineThickness)
Method Detail |
public java.lang.String getFamilyName()
public java.lang.String getFontWeight()
public java.lang.String getFontStyle()
public float getUnitsPerEm()
public float getAscent()
public float getDescent()
public float getStrikethroughPosition()
public float getStrikethroughThickness()
public float getUnderlinePosition()
public float getUnderlineThickness()
public float getOverlinePosition()
public float getOverlineThickness()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |