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

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

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

origin: fr.avianey.apache-xmlgraphics/batik

/**
 * Initializes the current selection to begin with the character at (x, y).
 * @param x the x coordinate of the start of the selection
 * @param y the y coordinate of the start of the selection
 */
public boolean selectAt(double x, double y) {
  beginMark = textPainter.selectAt(x, y, this);
  return true; // assume this always changes selection, for now.
}
origin: apache/batik

/**
 * Initializes the current selection to begin with the character at (x, y).
 * @param x the x coordinate of the start of the selection
 * @param y the y coordinate of the start of the selection
 */
public boolean selectAt(double x, double y) {
  beginMark = textPainter.selectAt(x, y, this);
  return true; // assume this always changes selection, for now.
}
origin: org.apache.xmlgraphics/batik-bridge

/**
 * Initializes the current selection to begin with the character at (x, y).
 * @param x the x coordinate of the start of the selection
 * @param y the y coordinate of the start of the selection
 */
public boolean selectAt(double x, double y) {
  beginMark = textPainter.selectAt(x, y, this);
  return true; // assume this always changes selection, for now.
}
org.apache.batik.bridgeTextPainterselectAt

Javadoc

Initiates a text selection on a particular AttributedCharacterIterator, using the text/font metrics employed by this TextPainter instance.

Popular methods of TextPainter

  • getBounds2D
    Get a Rectangle2D in userspace coords which encloses the textnode glyphs rendered bounds (includes s
  • getGeometryBounds
    Get a Rectangle2D in userspace coords which encloses the textnode glyphs just including the geometry
  • 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
  • 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

  • Running tasks concurrently on multiple threads
  • startActivity (Activity)
  • setRequestProperty (URLConnection)
  • findViewById (Activity)
  • IOException (java.io)
    Signals a general, I/O-related error. Error details may be specified when calling the constructor, a
  • String (java.lang)
  • KeyStore (java.security)
    KeyStore is responsible for maintaining cryptographic keys and their owners. The type of the syste
  • Callable (java.util.concurrent)
    A task that returns a result and may throw an exception. Implementors define a single method with no
  • Manifest (java.util.jar)
    The Manifest class is used to obtain attribute information for a JarFile and its entries.
  • Logger (org.slf4j)
    The org.slf4j.Logger interface is the main user entry point of SLF4J API. It is expected that loggin
  • Top plugins for Android Studio
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