textfont-ag凯发旗舰厅



com.spire.presentation
class textfont

java.lang.object
  extended by com.spire.presentation.textfont

public final class textfont
extends java.lang.object

represents a font definition. immutable.


constructor summary
textfont()
           
textfont( fatom)
           
textfont(java.lang.string fontname)
          creates a new fontdata object with the specified font name.
 
method summary
 boolean equals(java.lang.object obj)
          indicates whether two fontdata instances are equal.
 java.lang.string getfontname()
          gets the font name.
 java.lang.string getfontname(theme theme)
          gets the font name, replacing theme referrence with an actual font used.
 int hashcode()
           
 
constructor detail

textfont

public textfont()

textfont

public textfont(java.lang.string fontname)
creates a new fontdata object with the specified font name.
parameters:
fontname - font name.

textfont

public textfont( fatom)
method detail

getfontname

public java.lang.string getfontname()
gets the font name. read-only .
returns:

getfontname

public java.lang.string getfontname(theme theme)
gets the font name, replacing theme referrence with an actual font used.
parameters:
theme - theme from which themed font name should be taken. its up to caller to provide a correct value. see
returns:
font name.

equals

public boolean equals(java.lang.object obj)
indicates whether two fontdata instances are equal.
overrides:
equals in class java.lang.object
parameters:
obj - the fontdata to compare with the current fontdata.
returns:
true if the specified fontdata is equal to the current fontdata; otherwise, false.

hashcode

public int hashcode()
overrides:
hashcode in class java.lang.object


网站地图