public class CompositeStrike extends Object implements FontStrike
| Modifier and Type | Method and Description |
|---|---|
void |
clearDesc() |
boolean |
drawAsShapes() |
int |
getAAMode() |
float |
getCharAdvance(char ch)
Access to individual character advances are frequently needed for layout
understand that advance may vary for single glyph if ligatures or kerning
are enabled
|
FontResource |
getFontResource() |
Glyph |
getGlyph(char symbol) |
Glyph |
getGlyph(int glyphCode) |
Metrics |
getMetrics() |
Shape |
getOutline(GlyphList gl,
BaseTransform transform) |
int |
getQuantizedPosition(Point2D point)
Modifies the point argument to the quantized position suitable for the
underlying glyph rasterizer.
|
float |
getSize() |
FontStrike |
getStrikeSlot(int slot) |
int |
getStrikeSlotForGlyph(int glyphCode) |
BaseTransform |
getTransform()
Trusting caller to NOT mutate the returned result, to
avoid a clone.
|
public void clearDesc()
clearDesc in interface FontStrikepublic int getAAMode()
getAAMode in interface FontStrikepublic BaseTransform getTransform()
getTransform in interface FontStrikepublic FontStrike getStrikeSlot(int slot)
public FontResource getFontResource()
getFontResource in interface FontStrikepublic int getStrikeSlotForGlyph(int glyphCode)
public float getSize()
getSize in interface FontStrikepublic boolean drawAsShapes()
drawAsShapes in interface FontStrikepublic Metrics getMetrics()
getMetrics in interface FontStrikepublic Glyph getGlyph(char symbol)
getGlyph in interface FontStrikepublic Glyph getGlyph(int glyphCode)
getGlyph in interface FontStrikepublic float getCharAdvance(char ch)
getCharAdvance in interface FontStrikech - charpublic int getQuantizedPosition(Point2D point)
FontStrikeGlyph.getPixelData(int) in order to obtain the correct glyph mask
for the given point.getQuantizedPosition in interface FontStrikepublic Shape getOutline(GlyphList gl, BaseTransform transform)
getOutline in interface FontStrikeCopyright © 2025. All rights reserved.