GlyphOutlineRenderer

Inheritance: java.lang.Object, com.aspose.font.GlyphRendererBase

public class GlyphOutlineRenderer extends GlyphRendererBase

表示字形轮廓渲染器。

构造函数

构造函数描述
GlyphOutlineRenderer(IGlyphOutlinePainter painter)初始化新的 GlyphOutlineRenderer 对象。

方法

方法描述
equals(Object arg0)
getClass()
hashCode()
notify()
notifyAll()
renderGlyph(IFont font, GlyphId glyphId)渲染字形。
renderGlyph(IFont font, GlyphId glyphId, Glyph glyph, TransformationMatrix glyphPlacementMatrix)渲染字形,此重载版本的目标是用于字形缓存。
renderGlyph(IFont font, GlyphId glyphId, TransformationMatrix glyphPlacementMatrix)渲染字形。
renderGlyph(IFont font, long glyphIndex)渲染字形
renderGlyph(IFont font, long glyphIndex, TransformationMatrix glyphPlacementMatrix)渲染字形。
renderIndependentGlyphPath(IFont font, GlyphId glyphId, Glyph glyph, TransformationMatrix glyphPlacementMatrix)使用独立的字形路径渲染字形。
toString()
wait()
wait(long arg0)
wait(long arg0, int arg1)

GlyphOutlineRenderer(IGlyphOutlinePainter painter)

public GlyphOutlineRenderer(IGlyphOutlinePainter painter)

初始化新的 GlyphOutlineRenderer 对象。

Parameters:

参数类型描述
painterIGlyphOutlinePainter字形绘制器。

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

参数类型描述
arg0java.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:

参数类型描述
fontIFont包含该字形的字体。
glyphIdGlyphId字体内部的物理字形索引。请注意,这不是 Unicode。

renderGlyph(IFont font, GlyphId glyphId, Glyph glyph, TransformationMatrix glyphPlacementMatrix)

public void renderGlyph(IFont font, GlyphId glyphId, Glyph glyph, TransformationMatrix glyphPlacementMatrix)

渲染字形,此重载版本的目标是用于字形缓存。

Parameters:

参数类型描述
fontIFont包含该字形的字体。
glyphIdGlyphId字体内部的物理字形索引。请注意,这不是 Unicode。
glyphGlyph要渲染的字形。
glyphPlacementMatrixTransformationMatrix应用于字形坐标的矩阵。

renderGlyph(IFont font, GlyphId glyphId, TransformationMatrix glyphPlacementMatrix)

public void renderGlyph(IFont font, GlyphId glyphId, TransformationMatrix glyphPlacementMatrix)

渲染字形。

Parameters:

参数类型描述
fontIFont包含该字形的字体。
glyphIdGlyphId字体内部的物理字形索引。请注意,这不是 Unicode。
glyphPlacementMatrixTransformationMatrix应用于字形坐标的矩阵。

renderGlyph(IFont font, long glyphIndex)

public void renderGlyph(IFont font, long glyphIndex)

渲染字形

Parameters:

参数类型描述
fontIFont包含该字形的字体。
glyphIndexlong字体内部的物理字形索引。请注意,这不是 Unicode。

renderGlyph(IFont font, long glyphIndex, TransformationMatrix glyphPlacementMatrix)

public void renderGlyph(IFont font, long glyphIndex, TransformationMatrix glyphPlacementMatrix)

渲染字形。

Parameters:

参数类型描述
fontIFont包含该字形的字体。
glyphIndexlong字体内部的物理字形索引。请注意,这不是 Unicode。
glyphPlacementMatrixTransformationMatrix应用于字形坐标的矩阵。

renderIndependentGlyphPath(IFont font, GlyphId glyphId, Glyph glyph, TransformationMatrix glyphPlacementMatrix)

public void renderIndependentGlyphPath(IFont font, GlyphId glyphId, Glyph glyph, TransformationMatrix glyphPlacementMatrix)

使用独立的字形路径渲染字形。RenderGlyph() 函数族在渲染时会更改字形路径。这导致需要再次重新加载该字形。此函数使用字形路径的副本且不更改原始字形路径,因此同一字形可以多次重复使用。此函数版本旨在与字形缓存一起使用。

Parameters:

参数类型描述
fontIFont包含该字形的字体。
glyphIdGlyphId字体内部的物理字形索引。请注意,这不是 Unicode。
glyphGlyph要渲染的字形。
glyphPlacementMatrixTransformationMatrix应用于字形坐标的矩阵。

toString()

public String toString()

Returns: java.lang.String

wait()

public final void wait()

wait(long arg0)

public final native void wait(long arg0)

Parameters:

参数类型描述
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

参数类型描述
arg0long
arg1int