Glyph
Inheritance: java.lang.Object
All Implemented Interfaces: java.lang.Cloneable
public class Glyph implements Cloneable
表示一个字体字形。
方法
| 方法 | 描述 |
|---|---|
| clone() | 返回字形的副本。 |
| equals(Object arg0) | |
| getClass() | |
| getGlyphBBox() | 获取字形的 BBox。 |
| getLeftSidebearingX() | 获取字形侧边距 x 坐标。 |
| getLeftSidebearingY() | 获取字形侧边距 y 坐标。 |
| getPath() | 获取字形路径。 |
| getSourceResolution() | 获取源命令集的分辨率。 |
| getState() | 获取字形状态。 |
| getWidthVectorX() | 获取字形宽度向量。 |
| getWidthVectorY() | 获取字形宽度向量。 |
| hashCode() | |
| isEmpty() | 如果字形不包含绘图指令,则为 true。 |
| notify() | |
| notifyAll() | |
| toString() | |
| wait() | |
| wait(long arg0) | |
| wait(long arg0, int arg1) |
clone()
public Object clone()
返回字形的副本。
Returns: java.lang.Object - 字形的副本。
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
getGlyphBBox()
public FontBBox getGlyphBBox()
获取字形的 BBox。
Returns: FontBBox - Glyph BBox
getLeftSidebearingX()
public double getLeftSidebearingX()
获取字形侧边距 x 坐标。
Returns: double - 字形侧边距 x 坐标。
getLeftSidebearingY()
public double getLeftSidebearingY()
获取字形侧边距 y 坐标。
Returns: double - 字形侧边距 y 坐标。
getPath()
public SegmentPath getPath()
获取字形路径。
Returns: SegmentPath - Glyph path.
getSourceResolution()
public int getSourceResolution()
获取源命令集的分辨率。
Returns: int - 源命令集的分辨率。
getState()
public GlyphState getState()
获取字形状态。
Returns: GlyphState - Glyph state.
getWidthVectorX()
public double getWidthVectorX()
获取字形宽度向量。坐标 x。
Returns: double - 字形宽度向量。坐标 x。
getWidthVectorY()
public double getWidthVectorY()
获取字形宽度向量。坐标 y。
Returns: double - 字形宽度向量。坐标 y。
hashCode()
public native int hashCode()
Returns: int
isEmpty()
public boolean isEmpty()
如果字形不包含绘图指令,则为 true。
Returns: boolean - 如果字形不包含绘图指令,则为 true。
notify()
public final native void notify()
notifyAll()
public final native void notifyAll()
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 |