Tabnine Logo
TextNode.getPrimitiveBounds
Code IndexAdd Tabnine to your IDE (free)

How to use
getPrimitiveBounds
method
in
org.apache.batik.bridge.TextNode

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

origin: org.apache.xmlgraphics/batik-bridge

/**
 * Retrieve the list of layout for the
 * text node.
 */
protected List getTextRuns(TextNode node){
  //System.out.println(node.getTextRuns());
  if ( node.getTextRuns() == null ){
    //TODO : need to work out a solution
    //to compute the text runs
    node.getPrimitiveBounds();
  }
  //System.out.println(node.getTextRuns());
  return node.getTextRuns();
}
origin: fr.avianey.apache-xmlgraphics/batik

/**
 * Retrieve the list of layout for the
 * text node.
 */
protected List getTextRuns(TextNode node){
  //System.out.println(node.getTextRuns());
  if ( node.getTextRuns() == null ){
    //TODO : need to work out a solution
    //to compute the text runs
    node.getPrimitiveBounds();
  }
  //System.out.println(node.getTextRuns());
  return node.getTextRuns();
}
origin: apache/batik

/**
 * Retrieve the list of layout for the
 * text node.
 */
protected List getTextRuns(TextNode node){
  //System.out.println(node.getTextRuns());
  if ( node.getTextRuns() == null ){
    //TODO : need to work out a solution
    //to compute the text runs
    node.getPrimitiveBounds();
  }
  //System.out.println(node.getTextRuns());
  return node.getTextRuns();
}
org.apache.batik.bridgeTextNodegetPrimitiveBounds

Javadoc

Returns the bounds of the area covered by this node's primitive paint.

Popular methods of TextNode

  • getTextRuns
    Returns a list of text runs.
  • getAttributedCharacterIterator
    Returns the attributed character iterator of this text node.
  • getHighlightShape
    Returns the shape used to outline this text node.
  • getLocation
    Returns the location of this text node.
  • getMarkerForChar
    Return the marker for the character at index in this nodes AttributedCharacterIterator. Before Char
  • setTextPainter
    Sets the text painter of this text node. If the specified text painter is null, this text node will
  • setTextRuns
    Sets the list of text runs of this text node.
  • <init>
    Constructs a new empty TextNode.
  • contains
  • fireGraphicsNodeChangeCompleted
  • fireGraphicsNodeChangeStarted
  • getBounds
  • fireGraphicsNodeChangeStarted,
  • getBounds,
  • getGeometryBounds,
  • getGlobalTransform,
  • getRenderingHints,
  • getRoot,
  • getText,
  • invalidateGeometryCache,
  • setAttributedCharacterIterator

Popular in Java

  • Making http post requests using okhttp
  • getApplicationContext (Context)
  • setRequestProperty (URLConnection)
  • onCreateOptionsMenu (Activity)
  • String (java.lang)
  • MalformedURLException (java.net)
    This exception is thrown when a program attempts to create an URL from an incorrect specification.
  • UnknownHostException (java.net)
    Thrown when a hostname can not be resolved.
  • Cipher (javax.crypto)
    This class provides access to implementations of cryptographic ciphers for encryption and decryption
  • Options (org.apache.commons.cli)
    Main entry-point into the library. Options represents a collection of Option objects, which describ
  • FileUtils (org.apache.commons.io)
    General file manipulation utilities. Facilities are provided in the following areas: * writing to a
  • 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