FontConfigSubstitutionRule
遗产: java.lang.Object, com.aspose.words.FontSubstitutionRule
public class FontConfigSubstitutionRule extends FontSubstitutionRule
字体配置替换规则。
要了解更多信息,请访问Working with Fonts文档文章。
如果原始字体不可用,此规则使用 Linux(和其他类 Unix)平台上的 fontconfig 实用程序来获取替换。
如果 fontconfig 实用程序不可用,则此规则将被忽略。
方法
| 方法 | 描述 |
|---|---|
| equals(Object arg0) | |
| getClass() | |
| getEnabled() | 指定是否启用规则。 |
| hashCode() | |
| isFontConfigAvailable() | 检查 fontconfig 实用程序是否可用。 |
| notify() | |
| notifyAll() | |
| resetCache() | 重置 fontconfig 调用结果的缓存。 |
| setEnabled(boolean value) | 指定是否启用规则。 |
| toString() | |
| wait() | |
| wait(long arg0) | |
| wait(long arg0, int arg1) |
equals(Object arg0)
public boolean equals(Object arg0)
参数:
| 范围 | 类型 | 描述 |
|---|---|---|
| arg0 | java.lang.Object |
退货: 布尔值
getClass()
public final native Class<?> getClass()
退货: java.lang.Class
getEnabled()
public boolean getEnabled()
指定是否启用规则。
退货: boolean - 相应的布尔值。
hashCode()
public native int hashCode()
退货: 整数
isFontConfigAvailable()
public boolean isFontConfigAvailable()
检查 fontconfig 实用程序是否可用。
退货: 布尔值
notify()
public final native void notify()
notifyAll()
public final native void notifyAll()
resetCache()
public void resetCache()
重置 fontconfig 调用结果的缓存。
setEnabled(boolean value)
public void setEnabled(boolean value)
指定是否启用规则。
参数:
| 范围 | 类型 | 描述 |
|---|---|---|
| value | boolean | 对应的布尔值。 |
toString()
public String toString()
退货: java.lang.字符串
wait()
public final void wait()
wait(long arg0)
public final native void wait(long arg0)
参数:
| 范围 | 类型 | 描述 |
|---|---|---|
| arg0 | long |
wait(long arg0, int arg1)
public final void wait(long arg0, int arg1)
参数:
| 范围 | 类型 | 描述 |
|---|---|---|
| arg0 | long | |
| arg1 | int |