Constructors Summary |
---|
public AndroidGlyphVector(char[] chars, FontRenderContext frc, Font fnt, int flags)
int len = chars.length;
this.font = fnt;
LineMetricsImpl lmImpl = (LineMetricsImpl)fnt.getLineMetrics(String.valueOf(chars), frc);
this.ascent = lmImpl.getAscent();
this.height = lmImpl.getHeight();
this.leading = lmImpl.getLeading();
this.descent = lmImpl.getDescent();
this.charVector = chars;
this.vectorFRC = frc;
|
public AndroidGlyphVector(char[] chars, FontRenderContext frc, Font fnt)
this(chars, frc, fnt, 0);
|
public AndroidGlyphVector(String str, FontRenderContext frc, Font fnt)
this(str.toCharArray(), frc, fnt, 0);
|
public AndroidGlyphVector(String str, FontRenderContext frc, Font fnt, int flags)
this(str.toCharArray(), frc, fnt, flags);
|
Methods Summary |
---|
public boolean | equals(java.awt.font.GlyphVector glyphVector)
return false;
|
public android.graphics.Path | getAndroidGlyphOutline(int glyphIndex)
AndroidGraphics2D g = AndroidGraphics2D.getInstance();
Path path = new Path();
char tmp[] = new char[1];
tmp[0] = charVector[glyphIndex];
((AndroidGraphics2D)g).getAndroidPaint().getTextPath(new String(tmp), 0, 1, 0, 0, path);
return path;
|
public android.graphics.Path | getAndroidOutline()
AndroidGraphics2D g = AndroidGraphics2D.getInstance();
Path path = new Path();
((AndroidGraphics2D)g).getAndroidPaint().getTextPath(new String(charVector), 0, charVector.length, 0, 0, path);
return path;
|
public java.awt.Font | getFont()
return this.font;
|
public java.awt.font.FontRenderContext | getFontRenderContext()
return this.vectorFRC;
|
public int | getGlyphCode(int glyphIndex)
return charVector[glyphIndex];
|
public int[] | getGlyphCodes(int beginGlyphIndex, int numEntries, int[] codeReturn)
throw new RuntimeException("Not implemented!");
|
public java.awt.font.GlyphJustificationInfo | getGlyphJustificationInfo(int glyphIndex)
throw new RuntimeException("Not implemented!");
|
public java.awt.Shape | getGlyphLogicalBounds(int glyphIndex)
throw new RuntimeException("Not implemented!");
|
public java.awt.font.GlyphMetrics | getGlyphMetrics(int glyphIndex)
throw new RuntimeException("Not implemented!");
|
public java.awt.Shape | getGlyphOutline(int glyphIndex)
throw new RuntimeException("Not implemented!");
|
public java.awt.geom.Point2D | getGlyphPosition(int glyphIndex)
throw new RuntimeException("Not implemented!");
|
public float[] | getGlyphPositions(int beginGlyphIndex, int numEntries, float[] positionReturn)
throw new RuntimeException("Not implemented!");
|
public java.awt.geom.AffineTransform | getGlyphTransform(int glyphIndex)
throw new RuntimeException("Not implemented!");
|
public java.awt.Shape | getGlyphVisualBounds(int glyphIndex)
throw new RuntimeException("Not implemented!");
|
public char[] | getGlyphs()
return this.charVector;
|
public java.awt.geom.Rectangle2D | getLogicalBounds()
throw new RuntimeException("Not implemented!");
|
public int | getNumGlyphs()
return charVector.length;
|
public java.awt.Shape | getOutline(float x, float y)
throw new RuntimeException("Not implemented!");
|
public java.awt.Shape | getOutline()
throw new RuntimeException("Not implemented!");
|
public java.awt.geom.Rectangle2D | getVisualBounds()
throw new RuntimeException("Not implemented!");
|
public void | performDefaultLayout()
throw new RuntimeException("Not implemented!");
|
public void | setGlyphPosition(int glyphIndex, java.awt.geom.Point2D newPos)
throw new RuntimeException("Not implemented!");
|
public void | setGlyphTransform(int glyphIndex, java.awt.geom.AffineTransform trans)
throw new RuntimeException("Not implemented!");
|