Tabnine Logo
TextPainter.getGeometryBounds
Code IndexAdd Tabnine to your IDE (free)

How to use
getGeometryBounds
method
in
org.apache.batik.bridge.TextPainter

Best Java code snippets using org.apache.batik.bridge.TextPainter.getGeometryBounds (Showing top 4 results out of 315)

origin: apache/fop

/**
 * Get the geometry bounds.
 * This uses the StrokingTextPainter to get the bounds
 * since in theory it should be the same.
 *
 * @param node the text node
 * @return the bounds of the text
 */
public Rectangle2D getGeometryBounds(TextNode node) {
  return proxyTextPainter.getGeometryBounds(node);
}
origin: fr.avianey.apache-xmlgraphics/batik

/**
 * Returns the bounds of the area covered by this node, without
 * taking any of its rendering attribute into account. That is,
 * exclusive of any clipping, masking, filtering or stroking, for
 * example.
 */
public Rectangle2D getGeometryBounds(){
  if (geometryBounds == null){
    if (aci != null) {
      geometryBounds = textPainter.getGeometryBounds(this);
    }
  }
  return geometryBounds;
}
origin: apache/batik

/**
 * Returns the bounds of the area covered by this node, without
 * taking any of its rendering attribute into account. That is,
 * exclusive of any clipping, masking, filtering or stroking, for
 * example.
 */
public Rectangle2D getGeometryBounds(){
  if (geometryBounds == null){
    if (aci != null) {
      geometryBounds = textPainter.getGeometryBounds(this);
    }
  }
  return geometryBounds;
}
origin: org.apache.xmlgraphics/batik-bridge

/**
 * Returns the bounds of the area covered by this node, without
 * taking any of its rendering attribute into account. That is,
 * exclusive of any clipping, masking, filtering or stroking, for
 * example.
 */
public Rectangle2D getGeometryBounds(){
  if (geometryBounds == null){
    if (aci != null) {
      geometryBounds = textPainter.getGeometryBounds(this);
    }
  }
  return geometryBounds;
}
org.apache.batik.bridgeTextPaintergetGeometryBounds

Javadoc

Get a Rectangle2D in userspace coords which encloses the textnode glyphs just including the geometry info.

Popular methods of TextPainter

  • getBounds2D
    Get a Rectangle2D in userspace coords which encloses the textnode glyphs rendered bounds (includes s
  • getOutline
    Get a Shape in userspace coords which defines the textnode glyph outlines.
  • paint
    Paints the specified attributed character iterator using the specified Graphics2D and context and fo
  • getHighlightShape
    Get a Shape in userspace coords which encloses the textnode glyphs bounded by two Marks. Note that t
  • getMark
    Returns a mark for the char at index in node's AttributedCharacterIterator. Leading edge indicates i
  • getSelected
    Get an array of index pairs corresponding to the indices within an AttributedCharacterIterator regio
  • selectAt
    Initiates a text selection on a particular AttributedCharacterIterator, using the text/font metrics
  • selectFirst
    Selects the first glyph in the text node.
  • selectLast
    Selects the last glyph in the text node.
  • selectTo
    Continues a text selection on a particular AttributedCharacterIterator, using the text/font metrics

Popular in Java

  • Making http post requests using okhttp
  • startActivity (Activity)
  • getApplicationContext (Context)
  • onCreateOptionsMenu (Activity)
  • BigInteger (java.math)
    An immutable arbitrary-precision signed integer.FAST CRYPTOGRAPHY This implementation is efficient f
  • ConnectException (java.net)
    A ConnectException is thrown if a connection cannot be established to a remote host on a specific po
  • Proxy (java.net)
    This class represents proxy server settings. A created instance of Proxy stores a type and an addres
  • Socket (java.net)
    Provides a client-side TCP socket.
  • ResourceBundle (java.util)
    ResourceBundle is an abstract class which is the superclass of classes which provide Locale-specifi
  • Logger (org.slf4j)
    The org.slf4j.Logger interface is the main user entry point of SLF4J API. It is expected that loggin
  • 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