GlyphRendererBase
Inheritance: java.lang.Object
All Implemented Interfaces: com.aspose.font.IGlyphRenderer
public abstract class GlyphRendererBase implements IGlyphRenderer
表示字形渲染器的基类。
方法
equals(Object arg0)
public boolean equals(Object arg0)
Parameters:
| 参数 | 类型 | 描述 |
|---|---|---|
| arg0 | java.lang.Object |
Returns: boolean
getClass()
public final native Class<?> getClass()
Returns: java.lang.Class
hashCode()
public native int hashCode()
Returns: int
notify()
public final native void notify()
notifyAll()
public final native void notifyAll()
renderGlyph(IFont font, GlyphId glyphId)
public void renderGlyph(IFont font, GlyphId glyphId)
渲染字形。
Parameters:
| 参数 | 类型 | 描述 |
|---|---|---|
| font | IFont | 包含该字形的字体。 |
| glyphId | GlyphId | 字体内部的物理字形索引。请注意,这不是 Unicode。 |
renderGlyph(IFont font, GlyphId glyphId, Glyph glyph, TransformationMatrix glyphPlacementMatrix)
public void renderGlyph(IFont font, GlyphId glyphId, Glyph glyph, TransformationMatrix glyphPlacementMatrix)
渲染字形,此重载版本的目标是用于字形缓存。
Parameters:
| 参数 | 类型 | 描述 |
|---|---|---|
| font | IFont | 包含该字形的字体。 |
| glyphId | GlyphId | 字体内部的物理字形索引。请注意,这不是 Unicode。 |
| glyph | Glyph | 要渲染的字形。 |
| glyphPlacementMatrix | TransformationMatrix | 应用于字形坐标的矩阵。 |
renderGlyph(IFont font, GlyphId glyphId, TransformationMatrix glyphPlacementMatrix)
public void renderGlyph(IFont font, GlyphId glyphId, TransformationMatrix glyphPlacementMatrix)
渲染字形。
Parameters:
| 参数 | 类型 | 描述 |
|---|---|---|
| font | IFont | 包含该字形的字体。 |
| glyphId | GlyphId | 字体内部的物理字形索引。请注意,这不是 Unicode。 |
| glyphPlacementMatrix | TransformationMatrix | 应用于字形坐标的矩阵。 |
renderGlyph(IFont font, long glyphIndex)
public void renderGlyph(IFont font, long glyphIndex)
渲染字形
Parameters:
| 参数 | 类型 | 描述 |
|---|---|---|
| font | IFont | 包含该字形的字体。 |
| glyphIndex | long | 字体内部的物理字形索引。请注意,这不是 Unicode。 |
renderGlyph(IFont font, long glyphIndex, TransformationMatrix glyphPlacementMatrix)
public void renderGlyph(IFont font, long glyphIndex, TransformationMatrix glyphPlacementMatrix)
渲染字形。
Parameters:
| 参数 | 类型 | 描述 |
|---|---|---|
| font | IFont | 包含该字形的字体。 |
| glyphIndex | long | 字体内部的物理字形索引。请注意,这不是 Unicode。 |
| glyphPlacementMatrix | TransformationMatrix | 应用于字形坐标的矩阵。 |
renderIndependentGlyphPath(IFont font, GlyphId glyphId, Glyph glyph, TransformationMatrix glyphPlacementMatrix)
public void renderIndependentGlyphPath(IFont font, GlyphId glyphId, Glyph glyph, TransformationMatrix glyphPlacementMatrix)
使用独立的字形路径渲染字形。RenderGlyph() 函数族在渲染时会更改字形路径。这导致需要再次重新加载该字形。此函数使用字形路径的副本且不更改原始字形路径,因此同一字形可以多次重复使用。此函数版本旨在与字形缓存一起使用。
Parameters:
| 参数 | 类型 | 描述 |
|---|---|---|
| font | IFont | 包含该字形的字体。 |
| glyphId | GlyphId | 字体内部的物理字形索引。请注意,这不是 Unicode。 |
| glyph | Glyph | 要渲染的字形。 |
| glyphPlacementMatrix | TransformationMatrix | 应用于字形坐标的矩阵。 |
toString()
public String toString()
Returns: java.lang.String
wait()
public final void wait()
wait(long arg0)
public final native void wait(long arg0)
Parameters:
| 参数 | 类型 | 描述 |
|---|---|---|
| arg0 | long |
wait(long arg0, int arg1)
public final void wait(long arg0, int arg1)
Parameters:
| 参数 | 类型 | 描述 |
|---|---|---|
| arg0 | long | |
| arg1 | int |