congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
TextSpanLayout.getGlyphMetrics
Code IndexAdd Tabnine to your IDE (free)

How to use
getGlyphMetrics
method
in
org.apache.batik.bridge.TextSpanLayout

Best Java code snippets using org.apache.batik.bridge.TextSpanLayout.getGlyphMetrics (Showing top 3 results out of 315)

origin: fr.avianey.apache-xmlgraphics/batik

TextSpanLayout  layout          = r.getLayout();
GVTGlyphMetrics lastMetrics =
  layout.getGlyphMetrics(layout.getGlyphCount()-1);
GVTLineMetrics  lastLineMetrics = layout.getLineMetrics();
Rectangle2D     lastBounds  = lastMetrics.getBounds2D();
origin: org.apache.xmlgraphics/batik-bridge

TextSpanLayout  layout          = r.getLayout();
GVTGlyphMetrics lastMetrics =
  layout.getGlyphMetrics(layout.getGlyphCount()-1);
GVTLineMetrics  lastLineMetrics = layout.getLineMetrics();
Rectangle2D     lastBounds  = lastMetrics.getBounds2D();
origin: apache/batik

TextSpanLayout  layout          = r.getLayout();
GVTGlyphMetrics lastMetrics =
  layout.getGlyphMetrics(layout.getGlyphCount()-1);
GVTLineMetrics  lastLineMetrics = layout.getLineMetrics();
Rectangle2D     lastBounds  = lastMetrics.getBounds2D();
org.apache.batik.bridgeTextSpanLayoutgetGlyphMetrics

Javadoc

Returns the Metrics for a particular glyph.

Popular methods of TextSpanLayout

  • draw
    Paints the specified text layout using the specified Graphics2D and rendering context.
  • getAdvance2D
    Returns the current text position at the completion of glyph layout. (This is the position that shou
  • getGlyphAdvances
    Returns the advance between each glyph in text progression direction.
  • getGlyphCount
    Returns the number of glyphs in this layout.
  • getGlyphIndex
    Returns the glyph index of the glyph that has the specified char index.
  • getGlyphVector
    Return the glyph vector asociated to this layout.
  • getBounds2D
    Returns the rectangular bounds of the completed glyph layout. This includes stroking information, th
  • getCharacterCount
    Returns the number of chars represented by the glyphs within the specified range.
  • getComputedOrientationAngle
    Return the rotation angle applied to the character.
  • getDecorationOutline
    Returns the outline of the specified decorations on the glyphs, transformed by an AffineTransform.
  • getHighlightShape
    Returns a Shape which encloses the currently selected glyphs as specified by glyph indices begin and
  • getLineMetrics
    Returns the Line metrics for this text span.
  • getHighlightShape,
  • getLineMetrics,
  • getOutline,
  • getTextPathAdvance,
  • hasCharacterIndex,
  • hitTestChar,
  • isLeftToRight,
  • isOnATextPath,
  • isVertical

Popular in Java

  • Reading from database using SQL prepared statement
  • setRequestProperty (URLConnection)
  • getSystemService (Context)
  • onRequestPermissionsResult (Fragment)
  • ConnectException (java.net)
    A ConnectException is thrown if a connection cannot be established to a remote host on a specific po
  • SecureRandom (java.security)
    This class generates cryptographically secure pseudo-random numbers. It is best to invoke SecureRand
  • PriorityQueue (java.util)
    A PriorityQueue holds elements on a priority heap, which orders the elements according to their natu
  • ThreadPoolExecutor (java.util.concurrent)
    An ExecutorService that executes each submitted task using one of possibly several pooled threads, n
  • Modifier (javassist)
    The Modifier class provides static methods and constants to decode class and member access modifiers
  • DataSource (javax.sql)
    An interface for the creation of Connection objects which represent a connection to a database. This
  • Best IntelliJ plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now