| Modifier and Type | Field and Description |
|---|---|
| private int | |
| private FontStrikeDesc | |
| private DisposerRecord | |
| protected boolean | |
| private T | |
| private Map | |
| private int | |
| private PrismMetrics | |
| private float | |
| private BaseTransform |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public synchronized void | |
| protected abstract DisposerRecord | |
| protected abstract Glyph | |
| protected abstract Path2D | |
| public boolean | |
| public boolean | equals(Object obj)
Overrides java. Indicates whether some other object is "equal to" this one. |
| public int | |
| public float | Returns: advance of single charchar ch)Implements com. Access to individual character advances are frequently needed for layout understand that advance may vary for single glyph if ligatures or kerning are enabled |
| pack-priv DisposerRecord | |
| public T | |
| public Glyph | |
| public Glyph | |
| public Metrics | |
| public Shape | getOutline(GlyphList gl, BaseTransform transform)
Implements com.
|
| pack-priv void | |
| public int | getQuantizedPosition(Point2D point)
Implements com. Modifies the point argument to the quantized position suitable for the underlying glyph rasterizer. |
| public float | getSize()
Implements com. Returns the notional size of this strike with the graphics transform factored out. |
| public BaseTransform | |
| public int | |
| public String |
| aaMode | back to summary |
|---|---|
| private int aaMode | |
| desc | back to summary |
|---|---|
| private FontStrikeDesc desc | |
| disposer | back to summary |
|---|---|
| private DisposerRecord disposer | |
| drawShapes | back to summary |
|---|---|
| protected boolean drawShapes | |
| fontResource | back to summary |
|---|---|
| private T fontResource | |
| glyphMap | back to summary |
|---|---|
| private Map<Integer, Glyph> glyphMap | |
| hash | back to summary |
|---|---|
| private int hash | |
| metrics | back to summary |
|---|---|
| private PrismMetrics metrics | |
| size | back to summary |
|---|---|
| private float size | |
| transform | back to summary |
|---|---|
| private BaseTransform transform | |
| PrismFontStrike | back to summary |
|---|---|
| protected PrismFontStrike(T fontResource, float size, BaseTransform tx, int aaMode, FontStrikeDesc desc) | |
| clearDesc | back to summary |
|---|---|
| public synchronized void clearDesc() Implements com.
| |
| createDisposer | back to summary |
|---|---|
| protected abstract DisposerRecord createDisposer(FontStrikeDesc desc) | |
| createGlyph | back to summary |
|---|---|
| protected abstract Glyph createGlyph(int glyphCode) | |
| createGlyphOutline | back to summary |
|---|---|
| protected abstract Path2D createGlyphOutline(int glyphCode) | |
| drawAsShapes | back to summary |
|---|---|
| public boolean drawAsShapes() Implements com.
| |
| equals | back to summary |
|---|---|
| public boolean equals(Object obj) Overrides java. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes.
| |
| getAAMode | back to summary |
|---|---|
| public int getAAMode() Implements com.
| |
| getCharAdvance | back to summary |
|---|---|
| public float getCharAdvance(char ch) Implements com. Access to individual character advances are frequently needed for layout understand that advance may vary for single glyph if ligatures or kerning are enabled
| |
| getDisposer | back to summary |
|---|---|
| pack-priv DisposerRecord getDisposer() | |
| getFontResource | back to summary |
|---|---|
| public T getFontResource() Implements com.
| |
| getGlyph | back to summary |
|---|---|
| public Glyph getGlyph(char ch) Implements com.
| |
| getGlyph | back to summary |
|---|---|
| public Glyph getGlyph(int glyphCode) Implements com.
| |
| getMetrics | back to summary |
|---|---|
| public Metrics getMetrics() Implements com.
| |
| getOutline | back to summary |
|---|---|
| public Shape getOutline(GlyphList gl, BaseTransform transform) Implements com.
| |
| getOutline | back to summary |
|---|---|
| pack-priv void getOutline(GlyphList gl, BaseTransform transform, Path2D p) | |
| getQuantizedPosition | back to summary |
|---|---|
| public int getQuantizedPosition(Point2D point) Implements com. Doc from com. Modifies the point argument to the quantized position suitable for the
underlying glyph rasterizer.
The return value is the sub pixel index which should be passed to
| |
| getSize | back to summary |
|---|---|
| public float getSize() Implements com. Returns the notional size of this strike with the graphics transform factored out. This is presently needed for the J2D pipeline but arguably the strike should not even need to keep this around except for needing to return metrics and outlines in user space. The consequence is we can't share a strike between 12 pt at scale of 2.0 and 24 pt at scale of 1.0
| |
| getTransform | back to summary |
|---|---|
| public BaseTransform getTransform() Implements com.
| |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for this object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non-
| |